diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-09 18:58:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-10 13:48:49 +0100 |
commit | 8afbb4273977f055db219a22daaafe64be10fb95 (patch) | |
tree | 1ec01576c24ba01205135b50ee2d83fc96247570 /include/linux/device | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) | |
download | linux-stable-8afbb4273977f055db219a22daaafe64be10fb95.tar.gz linux-stable-8afbb4273977f055db219a22daaafe64be10fb95.tar.bz2 linux-stable-8afbb4273977f055db219a22daaafe64be10fb95.zip |
driver core: make bus_get_device_klist() static
No one calls this function outside of drivers/base/bus.c so make it
static so it does not need to be exported anymore.
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230109175810.2965448-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device')
-rw-r--r-- | include/linux/device/bus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/device/bus.h b/include/linux/device/bus.h index d8b29ccd07e5..01077c503d61 100644 --- a/include/linux/device/bus.h +++ b/include/linux/device/bus.h @@ -287,6 +287,5 @@ extern int bus_unregister_notifier(struct bus_type *bus, #define BUS_NOTIFY_DRIVER_NOT_BOUND 0x00000008 /* driver fails to be bound */ extern struct kset *bus_get_kset(struct bus_type *bus); -extern struct klist *bus_get_device_klist(struct bus_type *bus); #endif |