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

Arnd Bergmann arnd at arndb.de
Sat Jun 1 16:57:02 EDT 2013


On Saturday 01 June 2013, Rob Herring wrote:
> No, we still need empty functions. Here is what of_device.h looks like:
> 
> http://tinyurl.com/l2azz5m
> 
> BTW, it has your ack.
> 

Could you add a patch on top that only puts the function declarations
inside of #ifdef that don't have an inline wrapper?

It's really annoying to have to change the header file every time one
needs to call a function from a driver in the DT-only case.

	Arnd



More information about the linux-arm-kernel mailing list