aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 04:53:59 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:53:59 -0400
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 fff89c2d88fd..f114d7b5bb2a 100644
--- a/drivers/char/watchdog/Kconfig
+++ b/drivers/char/watchdog/Kconfig
@@ -510,6 +510,14 @@ config SH_WDT
510 To compile this driver as a module, choose M here: the 510 To compile this driver as a module, choose M here: the
511 module will be called shwdt. 511 module will be called shwdt.
512 512
513config SH_WDT_MMAP
514 bool "Allow mmap of SH WDT"
515 default n
516 depends on SH_WDT
517 help
518 If you say Y here, user applications will be able to mmap the
519 WDT/CPG registers.
520#
513# SPARC64 Architecture 521# SPARC64 Architecture
514 522
515config WATCHDOG_CP1XXX 523config WATCHDOG_CP1XXX