diff options
| author | Finn Thain <fthain@telegraphics.com.au> | 2019-01-15 07:18:56 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 12:21:43 +0300 |
| commit | 2d58636e0af724f38acad25246c1625efec36122 (patch) | |
| tree | db6c44e29c9245169f2ce530f3ee30bce4fe9848 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | d5bbb5021ce8d9ff561c7469f5b4589ccb3bc4a6 (diff) | |
| download | linux-2d58636e0af724f38acad25246c1625efec36122.tar.xz | |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
