watchdog/mpc8xxx: add a const qualifier
authorArnd Bergmann <arnd@arndb.de>
Mon, 21 May 2012 19:57:39 +0000 (21:57 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 11 Sep 2012 06:57:20 +0000 (08:57 +0200)
commit639397e48684b75c3476138ab1bfa5a67d6c2048
tree504263adfc20ebdec2ec26114926111a14d6cfd5
parent12736b14afb4a6c456ada1f095ca7f22b3c349ed
watchdog/mpc8xxx: add a const qualifier

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

drivers/watchdog/mpc8xxx_wdt.c: In function 'mpc8xxx_wdt_probe':
drivers/watchdog/mpc8xxx_wdt.c:203:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[ukl: split Arnd's patch by driver and add changelog]
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/watchdog/mpc8xxx_wdt.c