Skip to contentSkip to conversation

mfd: tps65218: Terminate of match table

PATCH Applied Stephen Boyd 2 participants 2 messages May 24, 2014 – May 27, 2014

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

PATCH 1/1 mfd: tps65218: Terminate of match table

Failure to terminate this match table can lead to boot failures depending on where the compiler places the match table.

---
 drivers/mfd/tps65218.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/tps65218.c +1 -0
index a74bfb59f18f..0d256cb002eb 100644
@@ -197,6 +197,7 @@ static struct regmap_irq_chip tps65218_irq_chip = {
 
 static const struct of_device_id of_tps65218_match_table[] = {
 	{ .compatible = "ti,tps65218", },
+	{}
 };
 
 static int tps65218_probe(struct i2c_client *client,
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
Applied
#1 lore raw
Quoted 8 lines · Stephen Boyd

Failure to terminate this match table can lead to boot failures depending on where the compiler places the match table.

---
 drivers/mfd/tps65218.c | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Quoted 12 lines
drivers/mfd/tps65218.c +1 -0
index a74bfb59f18f..0d256cb002eb 100644
@@ -197,6 +197,7 @@ static struct regmap_irq_chip tps65218_irq_chip = {
 
 static const struct of_device_id of_tps65218_match_table[] = {
 	{ .compatible = "ti,tps65218", },
+	{}
 };
 
 static int tps65218_probe(struct i2c_client *client,
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog