projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
ASoC: fsl: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 16:00:13 +0000
(
01:00
+0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 1 May 2015 16:51:43 +0000
(17:51 +0100)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmux.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-audmux.c
b/sound/soc/fsl/imx-audmux.c
index d9050d946ae747894ee73c1184791d4ed1dc0b74..fc57da341d6106e029c6766370421b9cdc97e8f5 100644
(file)
--- 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,