We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21eb93f commit ac338acCopy full SHA for ac338ac
include/linux/device.h
@@ -798,6 +798,17 @@ static inline struct device_node *dev_of_node(struct device *dev)
798
return dev->of_node;
799
}
800
801
+static inline bool dev_has_sync_state(struct device *dev)
802
+{
803
+ if (!dev)
804
+ return false;
805
+ if (dev->driver && dev->driver->sync_state)
806
+ return true;
807
+ if (dev->bus && dev->bus->sync_state)
808
809
810
+}
811
+
812
/*
813
* High level routines for use by the bus drivers
814
*/
0 commit comments