diff options
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index f7108c2605..adc952b043 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -1132,7 +1132,7 @@ static struct platform_device_id omap_i2c_ids[] = { }, }; -static __maybe_unused struct of_device_id omap_spi_dt_ids[] = { +static __maybe_unused struct of_device_id omap_i2c_dt_ids[] = { { .compatible = "ti,omap3-i2c", .data = (unsigned long)&omap3_data, @@ -1148,7 +1148,7 @@ static struct driver_d omap_i2c_driver = { .probe = i2c_omap_probe, .name = DRIVER_NAME, .id_table = omap_i2c_ids, - .of_compatible = DRV_OF_COMPAT(omap_spi_dt_ids), + .of_compatible = DRV_OF_COMPAT(omap_i2c_dt_ids), }; device_platform_driver(omap_i2c_driver); |