aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 7a968bdb02e2..cd7534cc42ab 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -129,6 +129,10 @@ struct device_driver {
129 129
130 bool suppress_bind_attrs; /* disables bind/unbind via sysfs */ 130 bool suppress_bind_attrs; /* disables bind/unbind via sysfs */
131 131
132#if defined(CONFIG_OF)
133 const struct of_device_id *of_match_table;
134#endif
135
132 int (*probe) (struct device *dev); 136 int (*probe) (struct device *dev);
133 int (*remove) (struct device *dev); 137 int (*remove) (struct device *dev);
134 void (*shutdown) (struct device *dev); 138 void (*shutdown) (struct device *dev);