driver core: move sysfs_dev_char_kobj out of class.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Mar 2023 16:03:19 +0000 (18:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Mar 2023 16:24:29 +0000 (18:24 +0200)
commit5c9a27df4eb9a402770d5547af255a765e1c10ac
treeba4a90753b9a68096d46c691d1b880cc8225f2e4
parent579d472b379983498a6a7d9f7b1dd74c20afdc50
driver core: move sysfs_dev_char_kobj out of class.h

The structure sysfs_dev_char_kobj is local only to the driver core code,
so move it out of the global class.h file and into the internal base.h
file as no one else should be touching this symbol.

Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230327160319.513974-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
include/linux/device/class.h