diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-02-26 22:59:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-02 03:55:48 +0300 |
commit | 811b0d6538b9f26f3eb0f90fe4e6118f2480ec6f (patch) | |
tree | 3f4a38c17e58e4011702fd5cbc73c22b22dbd488 /drivers/nvmem/sunxi_sid.c | |
parent | 1bb850a1b7f68b66361e658e334f9fdf8231f17d (diff) | |
download | linux-811b0d6538b9f26f3eb0f90fe4e6118f2480ec6f.tar.xz |
nvmem: Add flag to export NVMEM to root only
Legacy AT24, AT25 EEPROMs are exported in sys so that only root can
read the contents. The EEPROMs may contain sensitive information. Add
a flag so the provide can indicate that NVMEM should also restrict
access to root only.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/sunxi_sid.c')
0 files changed, 0 insertions, 0 deletions