Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
428d96e9 47157273

+1 -1
+1 -1
drivers/dma/s3c24xx-dma.c
··· 1168 1168 .has_clocks = true, 1169 1169 }; 1170 1170 1171 - static struct platform_device_id s3c24xx_dma_driver_ids[] = { 1171 + static const struct platform_device_id s3c24xx_dma_driver_ids[] = { 1172 1172 { 1173 1173 .name = "s3c2410-dma", 1174 1174 .driver_data = (kernel_ulong_t)&soc_s3c2410,