ARM: 9415/1: amba: Add dev_is_amba() function and export it for modules
authorKunwu Chan <chentao@kylinos.cn>
Mon, 2 Sep 2024 06:39:20 +0000 (07:39 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 12 Nov 2024 16:41:45 +0000 (16:41 +0000)
commitad8d1e323dd37f91d0c973e2a74c7b9054219adc
tree5f25f580f689794ebf0189a61c075a2407c206d4
parent9852d85ec9d492ebef56dc5f229416c925758edc
ARM: 9415/1: amba: Add dev_is_amba() function and export it for modules

Add dev_is_amba() function to determine
whether the device is a AMBA device.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
drivers/amba/bus.c
include/linux/amba/bus.h