瀏覽代碼

ASoC: samsung: 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 年之前
父節點
當前提交
eb8ca0fa5d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/samsung/i2s.c

+ 1 - 1
sound/soc/samsung/i2s.c

@@ -1493,7 +1493,7 @@ static const struct samsung_i2s_dai_data samsung_dai_type_sec = {
 	.dai_type = TYPE_SEC,
 };
 
-static struct platform_device_id samsung_i2s_driver_ids[] = {
+static const struct platform_device_id samsung_i2s_driver_ids[] = {
 	{
 		.name           = "samsung-i2s",
 		.driver_data	= (kernel_ulong_t)&i2sv3_dai_type,