watchdog: booke_wdt: fix build - unconstify watchdog_info
authorAnton Vorontsov <avorontsov@mvista.com>
Mon, 26 Apr 2010 22:59:53 +0000 (15:59 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Apr 2010 07:58:47 +0000 (07:58 +0000)
commitd8d8b63b6dc413696ade040e52173c068df11702
treee0ec3289daa29b0ffe9b74073bcd6fa0b017a4ed
parent322af98c56c70b3ec6f637fb07d41a9591a6ff9a
watchdog: booke_wdt: fix build - unconstify watchdog_info

commit 42747d712de56cf2087b702d2ad90af114c53138 ("[WATCHDOG] watchdog_info
constify") introduced the following build failure:

   CC      booke_wdt.o
 booke_wdt.c: In function 'booke_wdt_init':
 booke_wdt.c:220: error: assignment of read-only variable 'ident'

Fix this by removing 'const' qualifier from watchdog_info struct.

Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/booke_wdt.c