diff options
Diffstat (limited to 'arch/ppc/kernel/prep_nvram.c')
-rw-r--r-- | arch/ppc/kernel/prep_nvram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc/kernel/prep_nvram.c b/arch/ppc/kernel/prep_nvram.c index e69563c8a..6a352b341 100644 --- a/arch/ppc/kernel/prep_nvram.c +++ b/arch/ppc/kernel/prep_nvram.c @@ -9,6 +9,7 @@ #include <linux/malloc.h> #include <linux/ioport.h> +#include <asm/init.h> #include <asm/segment.h> #include <asm/io.h> #include <asm/processor.h> @@ -57,7 +58,7 @@ void rs_nvram_write_val(int addr, rs_pcNvRAM[addr]=val; } -__initfunc(void init_prep_nvram(void)) +void __init init_prep_nvram(void) { unsigned char *nvp; int i; |