X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fwatchdog%2Fsc1200wdt.c;h=621ebad56d86cdf798b22edf7a316c80eaa81e46;hb=59ca1b0d14ca71bdefef372ccd5035341e0ca091;hp=7e5c9cc97dee9415183dfedde88f9e09f35ad555;hpb=d14bccaadaa49b651fabcd1298b6ea07db3af552;p=linux-2.6 diff --git a/drivers/watchdog/sc1200wdt.c b/drivers/watchdog/sc1200wdt.c index 7e5c9cc97d..621ebad56d 100644 --- a/drivers/watchdog/sc1200wdt.c +++ b/drivers/watchdog/sc1200wdt.c @@ -148,13 +148,11 @@ static void sc1200wdt_start(void) spin_unlock(&sc1200wdt_lock); } - static void sc1200wdt_stop(void) { sc1200wdt_write_data(WDTO, 0); } - /* This returns the status of the WDO signal, inactive high. */ static inline int sc1200wdt_status(void) { @@ -166,10 +164,8 @@ static inline int sc1200wdt_status(void) * else for enabled/disabled status */ return (ret & 0x01) ? 0 : WDIOF_KEEPALIVEPING; - /* bits 1 - 7 are undefined */ } - static int sc1200wdt_open(struct inode *inode, struct file *file) { /* allow one at a time */