summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak5386.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-03-28 19:05:04 +0100
committerMark Brown <broonie@linaro.org>2014-06-18 19:52:52 +0200
commit2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34 (patch)
treee6fbb0b50deb00a08636b2676b64deb5eede632b /sound/soc/codecs/ak5386.c
parentASoC: ak5386: add regulator consumer support (diff)
downloadlinux-2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34.tar.xz
linux-2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34.zip
ASoC: ak5386: Add regulators to documentation and fix sparse warning
Document the newly added regulators to the DT binding document. Also, "static const char const *x" is not identical to "static const char * const x", which sparse now complains about. Fix it. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/ak5386.c')
-rw-r--r--sound/soc/codecs/ak5386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak5386.c b/sound/soc/codecs/ak5386.c
index a30be5ce3fa4..8107a1cac876 100644
--- a/sound/soc/codecs/ak5386.c
+++ b/sound/soc/codecs/ak5386.c
@@ -19,7 +19,7 @@
#include <sound/pcm.h>
#include <sound/initval.h>
-static const char const *supply_names[] = {
+static const char * const supply_names[] = {
"va", "vd"
};