diff options
| author | Finn Thain <fthain@telegraphics.com.au> | 2019-01-15 15:18:56 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 10:21:43 +0100 |
| commit | 2d58636e0af724f38acad25246c1625efec36122 (patch) | |
| tree | db6c44e29c9245169f2ce530f3ee30bce4fe9848 /tools/perf/scripts/python | |
| parent | char/nvram: Adopt arch_nvram_ops (diff) | |
| download | linux-2d58636e0af724f38acad25246c1625efec36122.tar.gz linux-2d58636e0af724f38acad25246c1625efec36122.zip | |
char/nvram: Allow the set_checksum and initialize ioctls to be omitted
The drivers/char/nvram.c module has previously supported only RTC "CMOS"
NVRAM, for which it provides appropriate checksum ioctls. Make these
ioctls optional so the module can be re-used with other kinds of NVRAM.
The ops struct methods that implement the ioctls now return error
codes so that a multi-platform kernel binary can do the right thing when
running on hardware without a suitable NVRAM.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
