projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver core / ACPI: Avoid device hot remove locking issues
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
device.h
diff --git
a/include/linux/device.h
b/include/linux/device.h
index 22b546a585916b2c8b5754c3f321130c7231d1fe..545a04285120449b9566f2860f11e44b76d54561 100644
(file)
--- a/
include/linux/device.h
+++ b/
include/linux/device.h
@@
-895,6
+895,7
@@
static inline bool device_supports_offline(struct device *dev)
extern void lock_device_hotplug(void);
extern void unlock_device_hotplug(void);
+extern int lock_device_hotplug_sysfs(void);
extern int device_offline(struct device *dev);
extern int device_online(struct device *dev);
/*