Commit a6ba40b5 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] wrong ifdef in ppc/kernel/setup.c (nvram)

	Wrong ifdef around ppc nvram_read_byte() - it should be
CONFIG_GENERIC_NVRAM.

[that's it for today; there's more (fb stuff), but I'd rather make that
a separate series]
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dd47dfea
...@@ -622,7 +622,7 @@ int __init ppc_setup_l2cr(char *str) ...@@ -622,7 +622,7 @@ int __init ppc_setup_l2cr(char *str)
} }
__setup("l2cr=", ppc_setup_l2cr); __setup("l2cr=", ppc_setup_l2cr);
#ifdef CONFIG_NVRAM #ifdef CONFIG_GENERIC_NVRAM
/* Generic nvram hooks used by drivers/char/gen_nvram.c */ /* Generic nvram hooks used by drivers/char/gen_nvram.c */
unsigned char nvram_read_byte(int addr) unsigned char nvram_read_byte(int addr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment