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

index e7238b8904bceec6f0903bd2974d00b4c6c262aa..9d0b794d3005649a3ff9866569068e80fdcebc20 100644 (file)
@@ -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",
        },