aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 17:53:59 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 17:53:59 +0900
commitf118420be83c3ce7888fe1d42db84af495da9edb (patch)
tree5d6bf59f2d9dee6623a63cd51a56a806b73d81d0 /drivers/char/watchdog/Kconfig
parent781125ca58dfbd47635cfc0e408f1f9d7e10b227 (diff)
watchdog: Add a simple mmap() stub for shwdt.
In some applications people have expressed a need for an mmap() method, so we implement a simple stub for this that maps back a page with the counter in it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/char/watchdog/Kconfig')
-rw-r--r--drivers/char/watchdog/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/watchdog/Kconfig b/drivers/char/watchdog/Kconfig
index fff89c2d88f..f114d7b5bb2 100644
--- a/drivers/char/watchdog/Kconfig
+++ b/drivers/char/watchdog/Kconfig
@@ -510,6 +510,14 @@ config SH_WDT
To compile this driver as a module, choose M here: the
module will be called shwdt.
+config SH_WDT_MMAP
+ bool "Allow mmap of SH WDT"
+ default n
+ depends on SH_WDT
+ help
+ If you say Y here, user applications will be able to mmap the
+ WDT/CPG registers.
+#
# SPARC64 Architecture
config WATCHDOG_CP1XXX