Skip to contentSkip to conversation

gpio: rcar: fix gpio_rcar_of_table

PATCH New Arnd Bergmann 3 participants 5 messages Jun 19, 2013 – Jun 20, 2013

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

PATCH 1/1 gpio: rcar: fix gpio_rcar_of_table

The device table needs to be terminated with an empty element.

Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>

---
I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning.

drivers/gpio/gpio-rcar.c +1 -0
index 5a693dd..f332753 100644
@@ -437,6 +437,7 @@ static const struct of_device_id gpio_rcar_of_table[] = {
 	{
 		.compatible = "renesas,gpio-rcar",
 	},
+	{ },
 };
 
 MODULE_DEVICE_TABLE(of, gpio_rcar_of_table);
#1 lore raw

PATCH 1/1 gpio: rcar: fix gpio_rcar_of_table

Quoted 8 lines · Arnd Bergmann

The device table needs to be terminated with an empty element.

Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>

---
I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning.

Thanks, have you pushed it there or do I need to add it and send a pull-request?

Quoted 14 lines
drivers/gpio/gpio-rcar.c +1 -0
index 5a693dd..f332753 100644
@@ -437,6 +437,7 @@ static const struct of_device_id gpio_rcar_of_table[] = {
 	{
 		.compatible = "renesas,gpio-rcar",
 	},
+	{ },
 };
 
 MODULE_DEVICE_TABLE(of, gpio_rcar_of_table);
#2 lore raw

PATCH 1/1 gpio: rcar: fix gpio_rcar_of_table

Quoted 11 lines · Simon Horman
Quoted 8 lines · Arnd Bergmann

The device table needs to be terminated with an empty element.

Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>

---
I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning.

Quoted 2 lines

Thanks, have you pushed it there or do I need to add it and send a pull-request?

I've applied this directly.

Arnd

#3 lore raw

PATCH 1/1 gpio: rcar: fix gpio_rcar_of_table

Quoted 12 lines · Arnd Bergmann
Quoted 11 lines · Simon Horman
Quoted 8 lines · Arnd Bergmann

The device table needs to be terminated with an empty element.

Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>

---
I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning.

Quoted 4 lines
Quoted 2 lines

Thanks, have you pushed it there or do I need to add it and send a pull-request?

I've applied this directly.

Thanks.

#4 lore raw

PATCH 1/1 gpio: rcar: fix gpio_rcar_of_table

In reply to Arnd Bergmann

Hi Arnd,

Quoted 1 line · On Wednesday 19 June 2013 17:50:43 Arnd Bergmann wrote:

The device table needs to be terminated with an empty element.

Oops, thanks for the patch.

Quoted 3 lines
Cc Laurent Pinchart <[email protected]>
Cc Simon Horman <[email protected]>
Quoted 16 lines

---
I've just added this patch on top of the arm-soc next/drivers branch that introduced the build warning.

drivers/gpio/gpio-rcar.c +1 -0
index 5a693dd..f332753 100644
@@ -437,6 +437,7 @@ static const struct of_device_id gpio_rcar_of_table[] =
 { {
 		.compatible = "renesas,gpio-rcar",
 	},
+	{ },
 };
 
 MODULE_DEVICE_TABLE(of, gpio_rcar_of_table);
Signature · 3 lines
Regards,

Laurent Pinchart