Message ID | 20160606073238.1073-1-thierry.reding@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
diff --git a/include/linux/device.h b/include/linux/device.h index 38f02814d53a..bea9566cea96 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -1031,6 +1031,11 @@ extern int device_online(struct device *dev); extern void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode); extern void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode); +static inline int device_match_always(struct device *device, void *data) +{ + return 1; +} + /* * Root device objects for grouping under /sys/devices */