aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/dsa/lan9303_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dsa/lan9303_i2c.c')
-rw-r--r--drivers/net/dsa/lan9303_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/lan9303_i2c.c b/drivers/net/dsa/lan9303_i2c.c
index 1cb41c36bd47..e8844820c3a9 100644
--- a/drivers/net/dsa/lan9303_i2c.c
+++ b/drivers/net/dsa/lan9303_i2c.c
@@ -103,7 +103,7 @@ MODULE_DEVICE_TABLE(of, lan9303_i2c_of_match);
static struct i2c_driver lan9303_i2c_driver = {
.driver = {
.name = "LAN9303_I2C",
- .of_match_table = of_match_ptr(lan9303_i2c_of_match),
+ .of_match_table = lan9303_i2c_of_match,
},
.probe_new = lan9303_i2c_probe,
.remove = lan9303_i2c_remove,