]> err.no Git - linux-2.6/blobdiff - include/linux/kobject.h
Merge branch 'master'
[linux-2.6] / include / linux / kobject.h
index 8eb21f2f25e171a61b6447ba0c0146d2f3a2d23d..2a8d8da709618c252ef97037ad8b4381f66b07ac 100644 (file)
@@ -253,7 +253,7 @@ struct subsys_attribute {
 extern int subsys_create_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);
 
 int add_uevent_var(char **envp, int num_envp, int *cur_index,