projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
ASoC: au1x: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 16:00:11 +0000
(
01:00
+0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 1 May 2015 16:46:15 +0000
(17:46 +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/au1x/db1200.c
patch
|
blob
|
history
diff --git
a/sound/soc/au1x/db1200.c
b/sound/soc/au1x/db1200.c
index c75995f2779cf57604de8d1ef37c4aa42c31d2a5..58c3164802b8ceda545e1469f557a814702694be 100644
(file)
--- 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,