diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2019-01-15 07:18:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 12:21:45 +0300 |
commit | ebcebc7f456c677a2a8fca31c70913fd9a983ad9 (patch) | |
tree | 4a233caf9e871b0e8a22cc877feb78859d3cd528 /include/linux/nvram.h | |
parent | 7fc0ac05f3f54319f7cac19f556282d5dafad6e2 (diff) | |
download | linux-ebcebc7f456c677a2a8fca31c70913fd9a983ad9.tar.xz |
powerpc: Define missing ppc_md.nvram_size for CHRP and PowerMac
Add the nvram_size() function to those PowerPC platforms that don't already
have one: CHRP and PowerMac. This means that the ppc_md.nvram_size()
function can be called by nvram_get_size().
Since we are addressing CHRP inconsistencies here, rename chrp_nvram_read
and chrp_nvram_write, which break the naming convention used across
powerpc platforms for NVRAM accessor functions.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/nvram.h')
0 files changed, 0 insertions, 0 deletions