[PATCH] i2c: omap: fix typo in dt_ids
Raphael Poggi
poggi.raph at gmail.com
Tue Jun 24 12:48:15 PDT 2014
Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>
---
drivers/i2c/busses/i2c-omap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index f7108c2..adc952b 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);
--
1.8.3.2
More information about the barebox
mailing list