From: Arnd Bergmann Date: Fri, 31 May 2013 22:22:52 +0000 (+0200) Subject: of: remove #ifdef from linux/of_platform.h X-Git-Tag: v3.11-rc1~85^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a46f4f7f95f2bece108998a2e1b87b58f99d590;p=pandora-kernel.git of: remove #ifdef from linux/of_platform.h A lot of code uses the functions from of_platform.h when built for devicetree-enabled platforms but can also be built without them. In order to avoid using #ifdef everywhere in drivers, this makes all the function declarations visible, which means we can use "if (IS_ENABLED(CONFIG_OF))" in driver code and get build coverage over the code but let the compiler drop the reference in the object code. Signed-off-by: Arnd Bergmann Cc: Grant Likely Cc: Rob Herring Signed-off-by: Grant Likely --- Reading git-diff-tree failed