diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 17:53:59 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 17:53:59 +0900 |
commit | f118420be83c3ce7888fe1d42db84af495da9edb (patch) | |
tree | 5d6bf59f2d9dee6623a63cd51a56a806b73d81d0 /drivers/char/watchdog/Kconfig | |
parent | 781125ca58dfbd47635cfc0e408f1f9d7e10b227 (diff) | |
download | op-kernel-dev-f118420be83c3ce7888fe1d42db84af495da9edb.zip op-kernel-dev-f118420be83c3ce7888fe1d42db84af495da9edb.tar.gz |
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/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/char/watchdog/Kconfig b/drivers/char/watchdog/Kconfig index fff89c2..f114d7b 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 |