diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2019-08-01 11:20:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-01 16:04:13 +0200 |
commit | 313b46d831189f593840c625d7972092cb0088fc (patch) | |
tree | dd29d4de403c3337f797388938ff59edb5d423f5 /include/linux/device.h | |
parent | b9515ecbf6caef2ea911ca59801eff84d034fa48 (diff) | |
download | linux-stable-313b46d831189f593840c625d7972092cb0088fc.tar.gz linux-stable-313b46d831189f593840c625d7972092cb0088fc.tar.bz2 linux-stable-313b46d831189f593840c625d7972092cb0088fc.zip |
drivers: Fix htmldocs warnings with bus_find_next_device()
Document the parameters for bus_find_next_device() to avoid
htmldocs build warnings as reported below :
include/linux/device.h:236: warning: Function parameter or member 'bus' not described in 'bus_find_next_device'
include/linux/device.h:236: warning: Function parameter or member 'cur' not described in 'bus_find_next_device'
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20190801102026.27312-3-suzuki.poulose@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 8e1b2ead5d96..bff46ce3bc3b 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -229,6 +229,8 @@ static inline struct device *bus_find_device_by_devt(struct bus_type *bus, /** * bus_find_next_device - Find the next device after a given device in a * given bus. + * @bus: bus type + * @cur: device to begin the search with. */ static inline struct device * bus_find_next_device(struct bus_type *bus,struct device *cur) |