|
@@ -253,7 +253,7 @@ struct subsys_attribute {
|
|
extern int subsys_create_file(struct subsystem * , struct subsys_attribute *);
|
|
extern int subsys_create_file(struct subsystem * , struct subsys_attribute *);
|
|
extern void subsys_remove_file(struct subsystem * , struct subsys_attribute *);
|
|
extern void subsys_remove_file(struct subsystem * , struct subsys_attribute *);
|
|
|
|
|
|
-#ifdef CONFIG_HOTPLUG
|
|
|
|
|
|
+#if defined(CONFIG_HOTPLUG) & defined(CONFIG_NET)
|
|
void kobject_uevent(struct kobject *kobj, enum kobject_action action);
|
|
void kobject_uevent(struct kobject *kobj, enum kobject_action action);
|
|
|
|
|
|
int add_uevent_var(char **envp, int num_envp, int *cur_index,
|
|
int add_uevent_var(char **envp, int num_envp, int *cur_index,
|