Browse Source

ASoC: bt-sco: Constify platform_device_id

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>
Krzysztof Kozlowski 10 years ago
parent
commit
c5787431e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/bt-sco.c

+ 1 - 1
sound/soc/codecs/bt-sco.c

@@ -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",
 	},