]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc/omap_hsmmc: add a const qualifier
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:35 +0000 (08:41 +0200)
commit78873211b7295968426442a3599bbb332da8eb44
treeff16a5690daec3f02d272f3ec5cd5de65f8dc144
parent424befef17455377ed761e6e5ddd56c96cdebca4
mmc/omap_hsmmc: add a const qualifier

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

drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_probe':
drivers/mmc/host/omap_hsmmc.c:1808: warning: initialization discards qualifiers from pointer target type

Acked-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/mmc/host/omap_hsmmc.c