summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-06-01 00:22:52 +0200
committerGrant Likely <grant.likely@linaro.org>2013-06-12 10:23:17 +0100
commit8a46f4f7f95f2bece108998a2e1b87b58f99d590 (patch)
tree772e3515955983e0284be67dec9f88e7860148a4 /virt/kvm
parent317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff)
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 'virt/kvm')
0 files changed, 0 insertions, 0 deletions