From: Sebastian Andrzej Siewior Date: Thu, 24 Feb 2011 08:52:42 +0000 (+0100) Subject: x86: dt: Fix OLPC=y/INTEL_CE=n build X-Git-Tag: v2.6.39-rc1~498^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a66b1d95ad8baf6ab884a1c64461449b463eb78;p=pandora-kernel.git x86: dt: Fix OLPC=y/INTEL_CE=n build 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 Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed