[PATCH 0/2] Add dev_is_amba and replace the usage in platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add dev_is_amba function and use dev_is_platform()/dev_is_amba() 
instead of checking bus type directly.

Kunwu Chan (2):
  amba: Add dev_is_amba() function and export it for modules
  of/platform: PCI: Use dev_is_platform/dev_is_amba to identify
    platform/amba devices

 drivers/amba/bus.c       | 6 ++++++
 drivers/of/platform.c    | 4 ++--
 include/linux/amba/bus.h | 5 +++++
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.43.0





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux