diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-09 20:58:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-10 15:49:06 +0300 |
commit | af6d0743599e594cb2cec3f1a6d2600a57d1d375 (patch) | |
tree | 0b4389cd8d3c53c9b60697a3f252de840e3fb049 /include/linux/device | |
parent | 38cdadefa2feecc9e7aa5f67bc4aea5b9a8ca59f (diff) | |
download | linux-af6d0743599e594cb2cec3f1a6d2600a57d1d375.tar.xz |
driver core: make subsys_dev_iter_exit() static
The function subsys_dev_iter_exit() is not used outside of
drivers/base/bus.c so make it static to that file and remove the global
export.
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230109175810.2965448-5-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 4f994d8fce0c..848d49f4cc09 100644 --- a/include/linux/device/bus.h +++ b/include/linux/device/bus.h @@ -154,7 +154,6 @@ struct subsys_dev_iter { struct klist_iter ki; const struct device_type *type; }; -void subsys_dev_iter_exit(struct subsys_dev_iter *iter); int bus_for_each_dev(struct bus_type *bus, struct device *start, void *data, int (*fn)(struct device *dev, void *data)); |