[PATCH 16/21] OF: remove #ifdef from linux/of_platform.h

2013-04-25 Thread Arnd Bergmann
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

[PATCH 16/21] OF: remove #ifdef from linux/of_platform.h

2013-04-25 Thread Arnd Bergmann
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