dmaengine: at_hdmac: add a few const qualifiers
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 13 Jul 2012 12:32:10 +0000 (14:32 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 16 Jul 2012 06:35:45 +0000 (12:05 +0530)
commit7fd63ccdad72335fd820b0ce5cb8edb6ca6419ce
tree3b47e62905e6a9bda6085f346443c189263f3df5
parentf8609c2b528331c38293bb8082a91701256d3fc1
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

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/at_hdmac.c