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: bt-sco: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 16:00:12 +0000
(
01:00
+0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 1 May 2015 16:51:17 +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/codecs/bt-sco.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/bt-sco.c
b/sound/soc/codecs/bt-sco.c
index e7238b8904bceec6f0903bd2974d00b4c6c262aa..9d0b794d3005649a3ff9866569068e80fdcebc20 100644
(file)
--- 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",
},