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)
{
* 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 */