public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: tps65218: Terminate of match table
@ 2014-05-24  0:16 Stephen Boyd
  2014-05-27  9:23 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2014-05-24  0:16 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, Keerthy

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

Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/mfd/tps65218.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
index a74bfb59f18f..0d256cb002eb 100644
--- a/drivers/mfd/tps65218.c
+++ b/drivers/mfd/tps65218.c
@@ -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,
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: tps65218: Terminate of match table
  2014-05-24  0:16 [PATCH] mfd: tps65218: Terminate of match table Stephen Boyd
@ 2014-05-27  9:23 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-05-27  9:23 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: linux-kernel, Keerthy

On Fri, 23 May 2014, Stephen Boyd wrote:

> Failure to terminate this match table can lead to boot failures
> depending on where the compiler places the match table.
> 
> Cc: Keerthy <j-keerthy@ti.com>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  drivers/mfd/tps65218.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

> diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c
> index a74bfb59f18f..0d256cb002eb 100644
> --- a/drivers/mfd/tps65218.c
> +++ b/drivers/mfd/tps65218.c
> @@ -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,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-27  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24  0:16 [PATCH] mfd: tps65218: Terminate of match table Stephen Boyd
2014-05-27  9:23 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox