summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-07-24 20:12:24 +0200
committerWim Van Sebroeck <wim@iguana.be>2007-07-24 23:16:02 +0200
commit7e07a15913e2e1fd99fb77c4c848437bd99a8d5f (patch)
treeb53e6f8c4e2ad9675fb2031a12e6b75f44d5b6f1 /include
parent[WATCHDOG] mv64x60_wdt: Get register address from platform data (diff)
downloadlinux-7e07a15913e2e1fd99fb77c4c848437bd99a8d5f.tar.xz
linux-7e07a15913e2e1fd99fb77c4c848437bd99a8d5f.zip
[WATCHDOG] mv64x60_wdt: Add arch/powerpc platform support
Add support for arch/powerpc, specifically for the prpmc2800 platform. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/mv64x60.h8
-rw-r--r--include/linux/mv643xx.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-ppc/mv64x60.h b/include/asm-ppc/mv64x60.h
index fa6230fb641a..2963d6aa3ea5 100644
--- a/include/asm-ppc/mv64x60.h
+++ b/include/asm-ppc/mv64x60.h
@@ -120,14 +120,6 @@ extern spinlock_t mv64x60_lock;
#define MV64x60_64BIT_WIN_COUNT 24
-/* Watchdog Platform Device, Driver Data */
-#define MV64x60_WDT_NAME "mv64x60_wdt"
-
-struct mv64x60_wdt_pdata {
- int timeout; /* watchdog expiry in seconds, default 10 */
- int bus_clk; /* bus clock in MHz, default 133 */
-};
-
/*
* Define a structure that's used to pass in config information to the
* core routines.
diff --git a/include/linux/mv643xx.h b/include/linux/mv643xx.h
index b021b3a2b65a..9c8049005052 100644
--- a/include/linux/mv643xx.h
+++ b/include/linux/mv643xx.h
@@ -1302,4 +1302,12 @@ struct mv643xx_eth_platform_data {
u8 mac_addr[6]; /* mac address if non-zero*/
};
+/* Watchdog Platform Device, Driver Data */
+#define MV64x60_WDT_NAME "mv64x60_wdt"
+
+struct mv64x60_wdt_pdata {
+ int timeout; /* watchdog expiry in seconds, default 10 */
+ int bus_clk; /* bus clock in MHz, default 133 */
+};
+
#endif /* __ASM_MV643XX_H */