x86: dt: Fix OLPC=y/INTEL_CE=n build
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 24 Feb 2011 08:52:42 +0000 (09:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 24 Feb 2011 12:01:59 +0000 (13:01 +0100)
Both OLPC and CE4100 activate CONFIG_OF. OLPC uses PROMTREE while CE
uses FLATTREE. Compiling for OLPC only breaks due to missing flat tree
functions and variables.

Use proper wrappers and provide an empty x86_flattree_get_config()
inline so OF=y FLATTREE=n builds and works.

[ tglx: Make it work with HPET_TIMER=n and make a function static ]

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found