From: Gabor Juhos Date: Thu, 27 Dec 2012 14:38:26 +0000 (+0100) Subject: watchdog: ath79_wdt: get register base from platform device's resources X-Git-Tag: v3.9-rc1~11^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f5100a592d11dad06b218f41d560ff1f87f666;p=pandora-kernel.git watchdog: ath79_wdt: get register base from platform device's resources The ath79_wdt driver uses a fixed memory address currently. Although this is working with each currently supported SoCs, but this may change in the future. Additionally, the driver includes platform specific header files in order to be able to get the memory base of the watchdog device. The patch adds a memory resource to the platform device, and converts the driver to get the base address of the watchdog device from that. Signed-off-by: Gabor Juhos Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed