diff options
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 16667342b3c3..a93d80b56974 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -312,9 +312,9 @@ static void put_child_connect_map(struct r8a66597 *r8a66597, int address) | |||
312 | static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) | 312 | static void set_pipe_reg_addr(struct r8a66597_pipe *pipe, u8 dma_ch) |
313 | { | 313 | { |
314 | u16 pipenum = pipe->info.pipenum; | 314 | u16 pipenum = pipe->info.pipenum; |
315 | unsigned long fifoaddr[] = {D0FIFO, D1FIFO, CFIFO}; | 315 | const unsigned long fifoaddr[] = {D0FIFO, D1FIFO, CFIFO}; |
316 | unsigned long fifosel[] = {D0FIFOSEL, D1FIFOSEL, CFIFOSEL}; | 316 | const unsigned long fifosel[] = {D0FIFOSEL, D1FIFOSEL, CFIFOSEL}; |
317 | unsigned long fifoctr[] = {D0FIFOCTR, D1FIFOCTR, CFIFOCTR}; | 317 | const unsigned long fifoctr[] = {D0FIFOCTR, D1FIFOCTR, CFIFOCTR}; |
318 | 318 | ||
319 | if (dma_ch > R8A66597_PIPE_NO_DMA) /* dma fifo not use? */ | 319 | if (dma_ch > R8A66597_PIPE_NO_DMA) /* dma fifo not use? */ |
320 | dma_ch = R8A66597_PIPE_NO_DMA; | 320 | dma_ch = R8A66597_PIPE_NO_DMA; |