OSDN Git Service

Merge android-4.4-p.198 (dbd0162) into msm-4.4
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / base / core.c
index 64b5955..146d8c0 100644 (file)
@@ -73,6 +73,11 @@ int lock_device_hotplug_sysfs(void)
        return restart_syscall();
 }
 
+void lock_device_hotplug_assert(void)
+{
+       lockdep_assert_held(&device_hotplug_lock);
+}
+
 #ifdef CONFIG_BLOCK
 static inline int device_is_not_partition(struct device *dev)
 {