pnx4008_wdt.c (6b1e83869d13a6b5ce9ceb4b8f79a7538d467dee) | pnx4008_wdt.c (0197c1c49ef1ff386b2ebb6d3b0fc85a8e174b5c) |
---|---|
1/* 2 * drivers/char/watchdog/pnx4008_wdt.c 3 * 4 * Watchdog driver for PNX4008 board 5 * 6 * Authors: Dmitry Chigirev <source@mvista.com>, 7 * Vitaly Wool <vitalywool@gmail.com> 8 * Based on sa1100 driver, --- 107 unchanged lines hidden (view full) --- 116 117 spin_unlock(&io_lock); 118 return 0; 119} 120 121static int pnx4008_wdt_set_timeout(struct watchdog_device *wdd, 122 unsigned int new_timeout) 123{ | 1/* 2 * drivers/char/watchdog/pnx4008_wdt.c 3 * 4 * Watchdog driver for PNX4008 board 5 * 6 * Authors: Dmitry Chigirev <source@mvista.com>, 7 * Vitaly Wool <vitalywool@gmail.com> 8 * Based on sa1100 driver, --- 107 unchanged lines hidden (view full) --- 116 117 spin_unlock(&io_lock); 118 return 0; 119} 120 121static int pnx4008_wdt_set_timeout(struct watchdog_device *wdd, 122 unsigned int new_timeout) 123{ |
124 wdd->timeout = new_timeout; |
|
124 return 0; 125} 126 127static const struct watchdog_info pnx4008_wdt_ident = { 128 .options = WDIOF_CARDRESET | WDIOF_MAGICCLOSE | 129 WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, 130 .identity = "PNX4008 Watchdog", 131}; --- 99 unchanged lines hidden --- | 125 return 0; 126} 127 128static const struct watchdog_info pnx4008_wdt_ident = { 129 .options = WDIOF_CARDRESET | WDIOF_MAGICCLOSE | 130 WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, 131 .identity = "PNX4008 Watchdog", 132}; --- 99 unchanged lines hidden --- |