diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-24 10:08:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-25 09:38:08 +0100 |
commit | 009455205e68ef017a429dc818b92c4a84b867c4 (patch) | |
tree | 98835aec8be5906e18e54be8c4d155e1fb8c2b20 /drivers/base | |
parent | kernel/ksysfs.c: use sysfs_emit for sysfs show handlers (diff) | |
download | linux-009455205e68ef017a429dc818b92c4a84b867c4.tar.xz linux-009455205e68ef017a429dc818b92c4a84b867c4.zip |
driver core: bus: move documentation for lock_key to proper location.
In commit 37e98d9bedb5 ("driver core: bus: move lock_class_key into
dynamic structure"), the lock_key variable moved out of struct bus_type
and into struct subsys_private, yet the documentation for it did not
move. Fix that up and place the documentation comment in the correct
location.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Fixes: 37e98d9bedb5 ("driver core: bus: move lock_class_key into dynamic structure")
Link: https://lore.kernel.org/r/20230324090814.386654-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index a2d3a1d0fa9b..d3e081dc4b13 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h @@ -33,6 +33,7 @@ * avoid namespace conflicts * @class - pointer back to the struct class that this structure is associated * with. + * @lock_key: Lock class key for use by the lock validator * * This structure is the one that is the actual kobject allowing struct * bus_type/class to be statically allocated safely. Nothing outside of the |