• Finn Thain's avatar
    char/nvram: Adopt arch_nvram_ops · d5bbb502
    Finn Thain authored
    NVRAMs on different platforms and architectures have different attributes
    and access methods. E.g. some platforms have byte-at-a-time accessor
    functions while others have byte-range accessor functions. Some have
    checksum functionality while others do not. By calling ops struct methods
    via the common wrapper functions, the nvram module and other drivers can
    make use of the available NVRAM functionality in a portable way.
    Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    d5bbb502
nvram.c 11.6 KB