diff options
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7785.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7785.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c index 07bb2d4619f8..f3e3ea0ce050 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7785.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7785.c | |||
@@ -275,7 +275,7 @@ static struct platform_device tmu5_device = { | |||
275 | }; | 275 | }; |
276 | 276 | ||
277 | /* DMA */ | 277 | /* DMA */ |
278 | static struct sh_dmae_channel sh7785_dmae0_channels[] = { | 278 | static const struct sh_dmae_channel sh7785_dmae0_channels[] = { |
279 | { | 279 | { |
280 | .offset = 0, | 280 | .offset = 0, |
281 | .dmars = 0, | 281 | .dmars = 0, |
@@ -303,7 +303,7 @@ static struct sh_dmae_channel sh7785_dmae0_channels[] = { | |||
303 | } | 303 | } |
304 | }; | 304 | }; |
305 | 305 | ||
306 | static struct sh_dmae_channel sh7785_dmae1_channels[] = { | 306 | static const struct sh_dmae_channel sh7785_dmae1_channels[] = { |
307 | { | 307 | { |
308 | .offset = 0, | 308 | .offset = 0, |
309 | }, { | 309 | }, { |
@@ -319,7 +319,7 @@ static struct sh_dmae_channel sh7785_dmae1_channels[] = { | |||
319 | } | 319 | } |
320 | }; | 320 | }; |
321 | 321 | ||
322 | static unsigned int ts_shift[] = TS_SHIFT; | 322 | static const unsigned int ts_shift[] = TS_SHIFT; |
323 | 323 | ||
324 | static struct sh_dmae_pdata dma0_platform_data = { | 324 | static struct sh_dmae_pdata dma0_platform_data = { |
325 | .channel = sh7785_dmae0_channels, | 325 | .channel = sh7785_dmae0_channels, |