aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/at_hdmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index bb1601305d25..3934fcc4e00b 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -1216,7 +1216,7 @@ static const struct platform_device_id atdma_devtypes[] = {
1216 } 1216 }
1217}; 1217};
1218 1218
1219static inline struct at_dma_platform_data * __init at_dma_get_driver_data( 1219static inline const struct at_dma_platform_data * __init at_dma_get_driver_data(
1220 struct platform_device *pdev) 1220 struct platform_device *pdev)
1221{ 1221{
1222 if (pdev->dev.of_node) { 1222 if (pdev->dev.of_node) {
@@ -1254,7 +1254,7 @@ static int __init at_dma_probe(struct platform_device *pdev)
1254 int irq; 1254 int irq;
1255 int err; 1255 int err;
1256 int i; 1256 int i;
1257 struct at_dma_platform_data *plat_dat; 1257 const struct at_dma_platform_data *plat_dat;
1258 1258
1259 /* setup platform data for each SoC */ 1259 /* setup platform data for each SoC */
1260 dma_cap_set(DMA_MEMCPY, at91sam9rl_config.cap_mask); 1260 dma_cap_set(DMA_MEMCPY, at91sam9rl_config.cap_mask);