]> git.karo-electronics.de Git - karo-tx-linux.git/commit
misc/atmel_tc: make atmel_tc.tcb_config member point to const data
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>
Mon, 23 Jul 2012 15:45:20 +0000 (17:45 +0200)
commit92c895143942d60972bb30d6411c4d3b835455e4
tree066102c57bef41347113effd152d28db7679ff23
parent55b909abe81e65bafc9f536905e1d75974465994
misc/atmel_tc: make atmel_tc.tcb_config member point to const data

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

drivers/misc/atmel_tclib.c: In function 'tc_probe':
drivers/misc/atmel_tclib.c:170: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
include/linux/atmel_tc.h