summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject.c')
-rw-r--r--lib/kobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index e5869da853b7..3101764ea605 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -118,9 +118,9 @@ char * kobject_get_path(struct kset *kset, struct kobject *kobj, int gfp_mask)
return path;
}
-u64 hotplug_seqnum;
#ifdef CONFIG_HOTPLUG
+u64 hotplug_seqnum;
#define BUFFER_SIZE 1024 /* should be enough memory for the env */
#define NUM_ENVP 32 /* number of env pointers */
static spinlock_t sequence_lock = SPIN_LOCK_UNLOCKED;