watchdog: ks8695: sink registers into driver
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 11 Sep 2012 05:48:15 +0000 (07:48 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 12 Sep 2012 05:40:32 +0000 (22:40 -0700)
commitcab463a2959f4c738fcb26bb69ea7e7ae5755272
treef8876f62f8453836c4168048ded731b1fc294511
parentc7e783d6adc7798307e7063e11f4127117446d5a
watchdog: ks8695: sink registers into driver

Commit 70adc3f32adc2fb90b0107c020678588e4cf9f51
"ARM: ks8695: merge the timer header into the timer driver"
accidentally broke the ks8695 watchdog since it was using
the timer registers in watchdog mode.

Perform the same operation here: push the registers down
into the driver, so it is self-contained, and we can keep
depopulating the <mach/*> namespace.

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/watchdog/ks8695_wdt.c