]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/device.h
mm: validate device_hotplug is held for memory hotplug
[karo-tx-linux.git] / include / linux / device.h
index bd684fc8ec1d83b80f393e9b2e5dc5cfb0776ad6..a48a7ff70164beee58f086fa6dca79e88bb6344a 100644 (file)
@@ -1139,6 +1139,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);
+void assert_held_device_hotplug(void);
 extern int device_offline(struct device *dev);
 extern int device_online(struct device *dev);
 extern void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode);