Home
last modified time | relevance | path

Searched hist:"2 d58636e0af724f38acad25246c1625efec36122" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dnvram.hdiff 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 Dnvram.cdiff 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>