summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-isp1301.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/phy-isp1301.c')
-rw-r--r--drivers/usb/phy/phy-isp1301.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-isp1301.c b/drivers/usb/phy/phy-isp1301.c
index 93b7d6a30aad..6cf6fbd39237 100644
--- a/drivers/usb/phy/phy-isp1301.c
+++ b/drivers/usb/phy/phy-isp1301.c
@@ -142,9 +142,9 @@ static struct i2c_driver isp1301_driver = {
module_i2c_driver(isp1301_driver);
-static int match(struct device *dev, void *data)
+static int match(struct device *dev, const void *data)
{
- struct device_node *node = (struct device_node *)data;
+ const struct device_node *node = (const struct device_node *)data;
return (dev->of_node == node) &&
(dev->driver == &isp1301_driver.driver);
}