]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: char: mem: Make /dev/mem an optional device
authorRob Ward <robert.ward114@googlemail.com>
Sun, 7 Dec 2014 15:40:33 +0000 (15:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:11 +0000 (05:04 -0800)
commit73f0718e74e25ac7381450a7a21257b8f26f43f0
tree573cc25a7fa4ca6f31473f58a44cf1eebead3646
parent769105aa740dc0428f2585ec99c457d30aaab364
drivers: char: mem: Make /dev/mem an optional device

Adds Kconfig option CONFIG_DEVMEM that allows the
/dev/mem device to be disabled.

Option defaults to /dev/mem enabled.

Signed-off-by: Rob Ward <robert.ward114@googlemail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig
drivers/char/mem.c