int (*platform_notify_remove)(struct device *dev) = NULL;
static struct kobject *dev_kobj;
struct kobject *sysfs_dev_char_kobj;
-struct kobject *sysfs_dev_block_kobj;
+
+/* /sys/dev/block */
+static struct kobject *sysfs_dev_block_kobj;
static DEFINE_MUTEX(device_hotplug_lock);
const struct device_type *type;
};
-extern struct kobject *sysfs_dev_block_kobj;
-
int __must_check class_register(struct class *class);
void class_unregister(const struct class *class);
bool class_is_registered(const struct class *class);