drivercore/dt: add a match table pointer to struct device
[pandora-kernel.git] / include / linux / device.h
index ca5d252..8d8e267 100644 (file)
@@ -441,6 +441,7 @@ struct device {
        struct dev_archdata     archdata;
 
        struct device_node      *of_node; /* associated device tree node */
+       const struct of_device_id *of_match; /* matching of_device_id from driver */
 
        dev_t                   devt;   /* dev_t, creates the sysfs "dev" */