watchdog: Convert rdc321x_wdt to use southbridge pci device
authorFlorian Fainelli <florian@openwrt.org>
Tue, 23 Mar 2010 02:56:24 +0000 (22:56 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 May 2010 23:37:29 +0000 (01:37 +0200)
commit842102f35a8da589486fac497885b7bd6053af2f
treefaf87e5b75e4b510bcf43b54895adf3ad09e1e91
parent9956d02d6e60f0c50632ba5699bc6238defb496b
watchdog: Convert rdc321x_wdt to use southbridge pci device

The RDC321x MFD southbridge driver will pass a reference to the
southbridge PCI device which should be used by the watchdog driver for its
operations.  This patch converts the watchdog driver to use the pci_dev
pointer and make use of the base register resource which is passed along
with the platform device.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/watchdog/rdc321x_wdt.c