Skip to contentSkip to conversation

i2c: omap: fix typo in dt_ids

PATCH RESEND Applied Raphael Poggi 2 participants 2 messages Jul 15, 2014 – Jul 16, 2014

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 i2c: omap: fix typo in dt_ids

Fix a typo in dt_ids name.

---
 drivers/i2c/busses/i2c-omap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-omap.c +2 -2
index f7108c2..adc952b 100644
@@ -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);
 
Signature · 7 lines
1.7.9.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 3 lines · Raphael Poggi

Fix a typo in dt_ids name.

Applied, thanks. Sorry, I missed this patch the first time you sent it.

Sascha

Quoted 34 lines
---
 drivers/i2c/busses/i2c-omap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/i2c/busses/i2c-omap.c +2 -2
index f7108c2..adc952b 100644
@@ -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);
 
Signature · 7 lines
1.7.9.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox