Searched hist:"2 d58636e0af724f38acad25246c1625efec36122" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | nvram.h | diff 2d58636e0af724f38acad25246c1625efec36122 Mon Jan 14 22:18:56 CST 2019 Finn Thain <fthain@telegraphics.com.au> 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>
|
/openbmc/linux/drivers/char/ |
H A D | nvram.c | diff 2d58636e0af724f38acad25246c1625efec36122 Mon Jan 14 22:18:56 CST 2019 Finn Thain <fthain@telegraphics.com.au> 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>
|