diff options
Diffstat (limited to 'drivers/usb/phy/phy-isp1301.c')
-rw-r--r-- | drivers/usb/phy/phy-isp1301.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-isp1301.c b/drivers/usb/phy/phy-isp1301.c index db68156568e6..b3b33cf7ddf6 100644 --- a/drivers/usb/phy/phy-isp1301.c +++ b/drivers/usb/phy/phy-isp1301.c | |||
@@ -33,6 +33,12 @@ static const struct i2c_device_id isp1301_id[] = { | |||
33 | }; | 33 | }; |
34 | MODULE_DEVICE_TABLE(i2c, isp1301_id); | 34 | MODULE_DEVICE_TABLE(i2c, isp1301_id); |
35 | 35 | ||
36 | static const struct of_device_id isp1301_of_match[] = { | ||
37 | {.compatible = "nxp,isp1301" }, | ||
38 | { }, | ||
39 | }; | ||
40 | MODULE_DEVICE_TABLE(of, isp1301_of_match); | ||
41 | |||
36 | static struct i2c_client *isp1301_i2c_client; | 42 | static struct i2c_client *isp1301_i2c_client; |
37 | 43 | ||
38 | static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear) | 44 | static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear) |
@@ -130,6 +136,7 @@ static int isp1301_remove(struct i2c_client *client) | |||
130 | static struct i2c_driver isp1301_driver = { | 136 | static struct i2c_driver isp1301_driver = { |
131 | .driver = { | 137 | .driver = { |
132 | .name = DRV_NAME, | 138 | .name = DRV_NAME, |
139 | .of_match_table = of_match_ptr(isp1301_of_match), | ||
133 | }, | 140 | }, |
134 | .probe = isp1301_probe, | 141 | .probe = isp1301_probe, |
135 | .remove = isp1301_remove, | 142 | .remove = isp1301_remove, |