]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: Add multiple device support
authorAlan Cox <alan@linux.intel.com>
Thu, 10 May 2012 19:48:59 +0000 (21:48 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 30 May 2012 05:54:25 +0000 (07:54 +0200)
commitccf870dd7dc66f01b918de98d1003fec2785e869
treed173b2d22ed1187fb7ed2cb85015ddf5c545da05
parent1e6f124fd26f74fdf3be26885622e2ce50bc57d9
watchdog: Add multiple device support

We keep the old /dev/watchdog interface file for the first watchdog via
miscdev. This is basically a cut and paste of the relevant interface code
from the rtc driver layer tweaked for watchdog.

Revised to fix problems noted by Hans de Goede

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_core.c
drivers/watchdog/watchdog_core.h
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h