alsa-devel.alsa-project.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: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Timur Tabi, Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim,
	alsa-devel, linux-kernel, linuxppc-dev, linux-arm-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski

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

* [PATCH 2/4] ASoC: bt-sco: Constify platform_device_id
  2015-05-01 16:00 [PATCH 1/4] ASoC: au1x: Constify platform_device_id Krzysztof Kozlowski
@ 2015-05-01 16:00 ` Krzysztof Kozlowski
  2015-05-01 16:51   ` Mark Brown
  2015-05-01 16:00 ` [PATCH 3/4] ASoC: fsl: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 16:00 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Timur Tabi, Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim,
	alsa-devel, linux-kernel, linuxppc-dev, linux-arm-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski

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/codecs/bt-sco.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c
index e7238b8904bc..9d0b794d3005 100644
--- a/sound/soc/codecs/bt-sco.c
+++ b/sound/soc/codecs/bt-sco.c
@@ -63,7 +63,7 @@ static int bt_sco_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static struct platform_device_id bt_sco_driver_ids[] = {
+static const struct platform_device_id bt_sco_driver_ids[] = {
 	{
 		.name		= "dfbmcs320",
 	},
-- 
2.1.4

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

* [PATCH 3/4] ASoC: fsl: Constify platform_device_id
  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:00 ` 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:46 ` [PATCH 1/4] ASoC: au1x: " Mark Brown
  3 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 16:00 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Timur Tabi, Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim,
	alsa-devel, linux-kernel, linuxppc-dev, linux-arm-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski

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/fsl/imx-audmux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index d9050d946ae7..fc57da341d61 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -184,7 +184,7 @@ static enum imx_audmux_type {
 	IMX31_AUDMUX,
 } audmux_type;
 
-static struct platform_device_id imx_audmux_ids[] = {
+static const struct platform_device_id imx_audmux_ids[] = {
 	{
 		.name = "imx21-audmux",
 		.driver_data = IMX21_AUDMUX,
-- 
2.1.4

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

* [PATCH 4/4] ASoC: samsung: Constify platform_device_id
  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:00 ` [PATCH 3/4] ASoC: fsl: " Krzysztof Kozlowski
@ 2015-05-01 16:00 ` Krzysztof Kozlowski
  2015-05-01 16:54   ` Mark Brown
  2015-05-01 16:46 ` [PATCH 1/4] ASoC: au1x: " Mark Brown
  3 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 16:00 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Timur Tabi, Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim,
	alsa-devel, linux-kernel, linuxppc-dev, linux-arm-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski

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/samsung/i2s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index b92ab40d2be6..ea4ab374a223 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1493,7 +1493,7 @@ static const struct samsung_i2s_dai_data samsung_dai_type_sec = {
 	.dai_type = TYPE_SEC,
 };
 
-static struct platform_device_id samsung_i2s_driver_ids[] = {
+static const struct platform_device_id samsung_i2s_driver_ids[] = {
 	{
 		.name           = "samsung-i2s",
 		.driver_data	= (kernel_ulong_t)&i2sv3_dai_type,
-- 
2.1.4

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

* Re: [PATCH 1/4] ASoC: au1x: Constify platform_device_id
  2015-05-01 16:00 [PATCH 1/4] ASoC: au1x: Constify platform_device_id Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2015-05-01 16:00 ` [PATCH 4/4] ASoC: samsung: " Krzysztof Kozlowski
@ 2015-05-01 16:46 ` Mark Brown
  3 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2015-05-01 16:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Timur Tabi,
	Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim, alsa-devel,
	linux-kernel, linuxppc-dev, linux-arm-kernel, linux-samsung-soc

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

On Sat, May 02, 2015 at 01:00:11AM +0900, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 2/4] ASoC: bt-sco: Constify platform_device_id
  2015-05-01 16:00 ` [PATCH 2/4] ASoC: bt-sco: " Krzysztof Kozlowski
@ 2015-05-01 16:51   ` Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2015-05-01 16:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Timur Tabi,
	Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim, alsa-devel,
	linux-kernel, linuxppc-dev, linux-arm-kernel, linux-samsung-soc

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

On Sat, May 02, 2015 at 01:00:12AM +0900, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 3/4] ASoC: fsl: Constify platform_device_id
  2015-05-01 16:00 ` [PATCH 3/4] ASoC: fsl: " Krzysztof Kozlowski
@ 2015-05-01 16:51   ` Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2015-05-01 16:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Timur Tabi,
	Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim, alsa-devel,
	linux-kernel, linuxppc-dev, linux-arm-kernel, linux-samsung-soc

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

On Sat, May 02, 2015 at 01:00:13AM +0900, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 4/4] ASoC: samsung: Constify platform_device_id
  2015-05-01 16:00 ` [PATCH 4/4] ASoC: samsung: " Krzysztof Kozlowski
@ 2015-05-01 16:54   ` Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2015-05-01 16:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Timur Tabi,
	Nicolin Chen, Xiubo Li, Kukjin Kim, Sangbeom Kim, alsa-devel,
	linux-kernel, linuxppc-dev, linux-arm-kernel, linux-samsung-soc

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

On Sat, May 02, 2015 at 01:00:14AM +0900, Krzysztof Kozlowski wrote:
> The platform_device_id is not modified by the driver and core uses it as
> const.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[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).