[PATCH RESEND] i2c: omap: fix typo in dt_ids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix a typo in dt_ids name.

Signed-off-by: Raphaël Poggi <poggi.raph@xxxxxxxxx>
---
 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.7.9.5


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux