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 c75995f2779cf57604de8d1ef37c4aa42c31d2a5..58c3164802b8ceda545e1469f557a814702694be 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,