projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
ASoC: ak4554: constify of_device_id array
author
Fabian Frederick
<fabf@skynet.be>
Wed, 18 Mar 2015 16:49:00 +0000
(17:49 +0100)
committer
Mark Brown
<broonie@kernel.org>
Sun, 22 Mar 2015 18:05:23 +0000
(18:05 +0000)
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4554.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/ak4554.c
b/sound/soc/codecs/ak4554.c
index 16ce9f9fefa175458bdf7a9ad49041b7faa821fc..298dedc051403b9dd8ae309a134e6fb9447893c2 100644
(file)
--- a/
sound/soc/codecs/ak4554.c
+++ b/
sound/soc/codecs/ak4554.c
@@
-84,7
+84,7
@@
static int ak4554_soc_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id ak4554_of_match[] = {
+static
const
struct of_device_id ak4554_of_match[] = {
{ .compatible = "asahi-kasei,ak4554" },
{},
};