提交 939d578e 编写于 作者: T Thomas Gleixner

x86: OLPC: Make OLPC=n build again

Stupid me missed the functions called from setup.c. Add the stubs back
for OLPC=n
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 c2a941fa
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#define OLPC_OFW_SIG 0x2057464F /* aka "OFW " */ #define OLPC_OFW_SIG 0x2057464F /* aka "OFW " */
#ifdef CONFIG_OLPC
extern bool olpc_ofw_is_installed(void); extern bool olpc_ofw_is_installed(void);
/* run an OFW command by calling into the firmware */ /* run an OFW command by calling into the firmware */
...@@ -24,6 +26,11 @@ extern void setup_olpc_ofw_pgd(void); ...@@ -24,6 +26,11 @@ extern void setup_olpc_ofw_pgd(void);
/* check if OFW was detected during boot */ /* check if OFW was detected during boot */
extern bool olpc_ofw_present(void); extern bool olpc_ofw_present(void);
#else /* !CONFIG_OLPC */
static inline void olpc_ofw_detect(void) { }
static inline void setup_olpc_ofw_pgd(void) { }
#endif /* !CONFIG_OLPC */
#ifdef CONFIG_OF_PROMTREE #ifdef CONFIG_OF_PROMTREE
extern void olpc_dt_build_devicetree(void); extern void olpc_dt_build_devicetree(void);
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册