浏览代码

dmaengine: s3c24xx: 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: Vinod Koul <vinod.koul@intel.com>
Krzysztof Kozlowski 10 年之前
父节点
当前提交
428d96e91e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/dma/s3c24xx-dma.c

+ 1 - 1
drivers/dma/s3c24xx-dma.c

@@ -1168,7 +1168,7 @@ static struct soc_data soc_s3c2443 = {
 	.has_clocks = true,
 	.has_clocks = true,
 };
 };
 
 
-static struct platform_device_id s3c24xx_dma_driver_ids[] = {
+static const struct platform_device_id s3c24xx_dma_driver_ids[] = {
 	{
 	{
 		.name		= "s3c2410-dma",
 		.name		= "s3c2410-dma",
 		.driver_data	= (kernel_ulong_t)&soc_s3c2410,
 		.driver_data	= (kernel_ulong_t)&soc_s3c2410,