aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/pmac_nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/pmac_nvram.c')
-rw-r--r--arch/ppc64/kernel/pmac_nvram.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/pmac_nvram.c b/arch/ppc64/kernel/pmac_nvram.c
index 11586d535f8..5fe9785ad7d 100644
--- a/arch/ppc64/kernel/pmac_nvram.c
+++ b/arch/ppc64/kernel/pmac_nvram.c
@@ -341,7 +341,7 @@ static int amd_write_bank(int bank, u8* datas)
}
-static int core99_nvram_sync(void)
+static void core99_nvram_sync(void)
{
struct core99_header* hdr99;
unsigned long flags;
@@ -369,8 +369,6 @@ static int core99_nvram_sync(void)
printk("nvram: Error writing bank %d\n", core99_bank);
bail:
spin_unlock_irqrestore(&nv_lock, flags);
-
- return 0;
}
int __init pmac_nvram_init(void)