.default_attrs = def_attrs,
};
-static decl_subsys(edd,&ktype_edd);
+static decl_subsys(edd,&ktype_edd,NULL);
/**
return_VALUE(-ENODEV);
}
-decl_subsys(acpi,NULL);
+decl_subsys(acpi,NULL,NULL);
static int __init acpi_init (void)
{
};
-decl_subsys(bus,&ktype_bus);
+decl_subsys(bus,&ktype_bus,NULL);
/**
* bus_for_each_dev - device iterator.
.sysfs_ops = &class_sysfs_ops,
};
-static decl_subsys(class,&ktype_devclass);
+/* Classes can't use the kobject hotplug logic, as
+ * they do not add new kobjects to the system */
+static decl_subsys(class,&ktype_devclass,NULL);
static int devclass_dev_link(struct device_class * cls, struct device * dev)
#include <linux/module.h>
#include <linux/init.h>
-static decl_subsys(firmware,NULL);
+static decl_subsys(firmware,NULL,NULL);
int firmware_register(struct subsystem * s)
{
/* define fs_subsys */
-static decl_subsys(fs, NULL);
+static decl_subsys(fs, NULL, NULL);
static int register_fs_subsys(struct file_system_type * fs)
{
extern void dv_init(void);
#endif /* CONFIG_NET_DIVERT */
-static decl_subsys(net,NULL);
+static decl_subsys(net,NULL,NULL);
/*