summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2019-01-15 15:18:56 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 10:21:43 +0100
commit2d58636e0af724f38acad25246c1625efec36122 (patch)
treedb6c44e29c9245169f2ce530f3ee30bce4fe9848 /sound
parentd5bbb5021ce8d9ff561c7469f5b4589ccb3bc4a6 (diff)
downloadlwn-2d58636e0af724f38acad25246c1625efec36122.tar.gz
lwn-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 'sound')
0 files changed, 0 insertions, 0 deletions