projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Replace nvram_* extern declarations with standard header
[linux-2.6-microblaze.git]
/
include
/
linux
/
nvram.h
diff --git
a/include/linux/nvram.h
b/include/linux/nvram.h
index
a1e01dc
..
79431da
100644
(file)
--- a/
include/linux/nvram.h
+++ b/
include/linux/nvram.h
@@
-15,8
+15,11
@@
extern const struct nvram_ops arch_nvram_ops;
static inline ssize_t nvram_get_size(void)
{
+#ifdef CONFIG_PPC
+#else
if (arch_nvram_ops.get_size)
return arch_nvram_ops.get_size();
+#endif
return -ENODEV;
}