watchdog_dev.c (257f8c4aae392654d4ab846030b9f4518f16ed32) | watchdog_dev.c (6cfb5aa836884bcd66e2c5d0a101e97ba78aaafd) |
---|---|
1/* 2 * watchdog_dev.c 3 * 4 * (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>, 5 * All Rights Reserved. 6 * 7 * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>. 8 * --- 28 unchanged lines hidden (view full) --- 37#include <linux/errno.h> /* For the -ENODEV/... values */ 38#include <linux/kernel.h> /* For printk/panic/... */ 39#include <linux/fs.h> /* For file operations */ 40#include <linux/watchdog.h> /* For watchdog specific items */ 41#include <linux/miscdevice.h> /* For handling misc devices */ 42#include <linux/init.h> /* For __init/__exit/... */ 43#include <linux/uaccess.h> /* For copy_to_user/put_user/... */ 44 | 1/* 2 * watchdog_dev.c 3 * 4 * (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>, 5 * All Rights Reserved. 6 * 7 * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>. 8 * --- 28 unchanged lines hidden (view full) --- 37#include <linux/errno.h> /* For the -ENODEV/... values */ 38#include <linux/kernel.h> /* For printk/panic/... */ 39#include <linux/fs.h> /* For file operations */ 40#include <linux/watchdog.h> /* For watchdog specific items */ 41#include <linux/miscdevice.h> /* For handling misc devices */ 42#include <linux/init.h> /* For __init/__exit/... */ 43#include <linux/uaccess.h> /* For copy_to_user/put_user/... */ 44 |
45#include "watchdog_dev.h" | 45#include "watchdog_core.h" |
46 47/* make sure we only register one /dev/watchdog device */ 48static unsigned long watchdog_dev_busy; 49/* the watchdog device behind /dev/watchdog */ 50static struct watchdog_device *wdd; 51 52/* 53 * watchdog_ping: ping the watchdog. --- 348 unchanged lines hidden --- | 46 47/* make sure we only register one /dev/watchdog device */ 48static unsigned long watchdog_dev_busy; 49/* the watchdog device behind /dev/watchdog */ 50static struct watchdog_device *wdd; 51 52/* 53 * watchdog_ping: ping the watchdog. --- 348 unchanged lines hidden --- |