Skip to contentSkip to conversation

ASoC: pxa: pxa-ssp: Terminate of match table

PATCH Applied Stephen Boyd 3 participants 3 messages May 24, 2014 – May 26, 2014

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

PATCH 1/1 ASoC: pxa: pxa-ssp: Terminate of match table

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

---
 sound/soc/pxa/pxa-ssp.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/pxa/pxa-ssp.c +1 -0
index a3119a00d8fa..dd35e7be1d8b 100644
@@ -810,6 +810,7 @@ static const struct snd_soc_component_driver pxa_ssp_component = {
 #ifdef CONFIG_OF
 static const struct of_device_id pxa_ssp_of_ids[] = {
 	{ .compatible = "mrvl,pxa-ssp-dai" },
+	{}
 };
 #endif
 
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Stephen Boyd

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

Quoted 17 lines
---
 sound/soc/pxa/pxa-ssp.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/pxa/pxa-ssp.c +1 -0
index a3119a00d8fa..dd35e7be1d8b 100644
@@ -810,6 +810,7 @@ static const struct snd_soc_component_driver pxa_ssp_component = {
 #ifdef CONFIG_OF
 static const struct of_device_id pxa_ssp_of_ids[] = {
 	{ .compatible = "mrvl,pxa-ssp-dai" },
+	{}
 };
 #endif
 
maintainer Applied
#2 lore raw
In reply to Stephen Boyd
Quoted 2 lines · Stephen Boyd

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

Applied, thanks.