]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: at_hdmac: add a few const qualifiers
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 21 May 2012 19:57:39 +0000 (21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 24 Jul 2012 06:41:34 +0000 (08:41 +0200)
commit424befef17455377ed761e6e5ddd56c96cdebca4
treeca49e93c45f372413764c237b6453d729328b348
parent44f26fbfa16f4436bb3d82811a086c56ff48cad8
dmaengine: at_hdmac: add a few const qualifiers

This prepares *of_device_id.data becoming const. Without this change
the following warning would occur:

drivers/dma/at_hdmac.c: In function 'at_dma_get_driver_data':
drivers/dma/at_hdmac.c:1228: warning: return discards qualifiers from pointer target type

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/dma/at_hdmac.c