summaryrefslogtreecommitdiff
path: root/include/linux/device
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-27 18:03:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-27 18:24:29 +0200
commit5c9a27df4eb9a402770d5547af255a765e1c10ac (patch)
treeba4a90753b9a68096d46c691d1b880cc8225f2e4 /include/linux/device
parent579d472b379983498a6a7d9f7b1dd74c20afdc50 (diff)
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>
Diffstat (limited to 'include/linux/device')
-rw-r--r--include/linux/device/class.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/device/class.h b/include/linux/device/class.h
index 1dc7706cb42d..d3960733c0fa 100644
--- a/include/linux/device/class.h
+++ b/include/linux/device/class.h
@@ -81,7 +81,6 @@ struct class_dev_iter {
};
extern struct kobject *sysfs_dev_block_kobj;
-extern struct kobject *sysfs_dev_char_kobj;
int __must_check class_register(struct class *class);
void class_unregister(struct class *class);