summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorArnd Bergmann2013-06-01 00:22:52 +0200
committerGrant Likely2013-06-12 11:23:17 +0200
commit8a46f4f7f95f2bece108998a2e1b87b58f99d590 (patch)
tree772e3515955983e0284be67dec9f88e7860148a4 /ipc
parentLinux 3.10-rc5 (diff)
downloadkernel-qcow2-linux-8a46f4f7f95f2bece108998a2e1b87b58f99d590.tar.gz
kernel-qcow2-linux-8a46f4f7f95f2bece108998a2e1b87b58f99d590.tar.xz
kernel-qcow2-linux-8a46f4f7f95f2bece108998a2e1b87b58f99d590.zip
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 <arnd@arndb.de> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions