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 | f9c3a570f5fc584f2ca2dd222d1b8c8537fc55f6 (patch) | |
tree | 0bacf78e4973fea728c05a0c8b69e8afff1209e0 /arch/powerpc/include/asm/nvram.h | |
parent | 066ac5c3c4bb467d6e8c7255e36c77060efe5ef7 (diff) | |
download | linux-f9c3a570f5fc584f2ca2dd222d1b8c8537fc55f6.tar.xz |
powerpc: Enable HAVE_ARCH_NVRAM_OPS and disable GENERIC_NVRAM
Switch PPC32 kernels from the generic_nvram module to the nvram module.
Also fix a theoretical bug where CHRP omits the chrp_nvram_init() call
when CONFIG_NVRAM_MODULE=m.
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 'arch/powerpc/include/asm/nvram.h')
-rw-r--r-- | arch/powerpc/include/asm/nvram.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/nvram.h b/arch/powerpc/include/asm/nvram.h index 56a388da9c4f..629a5cdcc865 100644 --- a/arch/powerpc/include/asm/nvram.h +++ b/arch/powerpc/include/asm/nvram.h @@ -78,9 +78,6 @@ extern int pmac_get_partition(int partition); extern u8 pmac_xpram_read(int xpaddr); extern void pmac_xpram_write(int xpaddr, u8 data); -/* Synchronize NVRAM */ -extern void nvram_sync(void); - /* Initialize NVRAM OS partition */ extern int __init nvram_init_os_partition(struct nvram_os_partition *part); |