ASoC: au1x: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 16:00:11 +0000 (01:00 +0900)
committerMark 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

index c75995f..58c3164 100644 (file)
@@ -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,