linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ASoC: au1x: Constify platform_device_id
@ 2015-05-01 16:00 Krzysztof Kozlowski
  2015-05-01 16:00 ` [PATCH 2/4] ASoC: bt-sco: " Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 16:00 UTC (permalink / raw)
  To: linux-arm-kernel

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 sound/soc/au1x/db1200.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index c75995f2779c..58c3164802b8 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -21,7 +21,7 @@
 #include "../codecs/wm8731.h"
 #include "psc.h"
 
-static struct platform_device_id db1200_pids[] = {
+static const struct platform_device_id db1200_pids[] = {
 	{
 		.name		= "db1200-ac97",
 		.driver_data	= 0,
-- 
2.1.4

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

end of thread, other threads:[~2015-05-01 16:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 16:00 [PATCH 1/4] ASoC: au1x: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 16:00 ` [PATCH 2/4] ASoC: bt-sco: " Krzysztof Kozlowski
2015-05-01 16:51   ` Mark Brown
2015-05-01 16:00 ` [PATCH 3/4] ASoC: fsl: " Krzysztof Kozlowski
2015-05-01 16:51   ` Mark Brown
2015-05-01 16:00 ` [PATCH 4/4] ASoC: samsung: " Krzysztof Kozlowski
2015-05-01 16:54   ` Mark Brown
2015-05-01 16:46 ` [PATCH 1/4] ASoC: au1x: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).