On 2026-10-28T21:01:55, Ryan Brue <[email protected]> wrote: > misc: Provide stubs when MISC is disabled > > nvmem.c reads and writes cells on UCLASS_MISC devices with misc_read() and > misc_write(), so a build with NVMEM but without MISC fails to link, even > when every cell it uses is on an RTC or an I2C EEPROM. The headers of > those two providers have stubs for this case; give misc.h the same. > > Signed-off-by: Ryan Brue <[email protected]> > > include/misc.h | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+)
Reviewed-by: Simon Glass <[email protected]>
