summaryrefslogtreecommitdiff
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-06-01 02:22:52 +0400
committerGrant Likely <grant.likely@linaro.org>2013-06-12 13:23:17 +0400
commit8a46f4f7f95f2bece108998a2e1b87b58f99d590 (patch)
tree772e3515955983e0284be67dec9f88e7860148a4 /mm/nommu.c
parent317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff)
downloadlinux-8a46f4f7f95f2bece108998a2e1b87b58f99d590.tar.xz
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 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions