watchdog: bcm47xx_wdt.c: use platform device
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 24 Jan 2013 17:13:34 +0000 (18:13 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 1 Mar 2013 11:47:16 +0000 (12:47 +0100)
commitf82dedf812ecdf0c19c6c240e85a4a487ab62016
tree656ae38bd44696b7c7b4ea4d46d5d323cb418fcb
parent5434a04db905bb0af281cdb758d1357fbecd0fe8
watchdog: bcm47xx_wdt.c: use platform device

Instead of accessing the function to set the watchdog timer directly,
register a platform driver the platform could register to use this
watchdog driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/bcm47xx_wdt.c
include/linux/bcm47xx_wdt.h