Thread (2 messages) 2 messages, 2 authors, 2012-07-23

Re: [PATCH 17/25] watchdog/mpc8xxx: add a const qualifier

From: Wim Van Sebroeck <hidden>
Date: 2012-07-23 10:57:02
Also in: linux-watchdog

Hi Uwe,
From: Arnd Bergmann <arnd@arndb.de>

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]
Signed-off-by: Uwe Kleine-König <redacted>
Acked-by: Wim Van Sebroeck <redacted>

Kind regards,
Wim.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help