[PATCH] of: include errno.h in of_graph.h

2016-05-02 Thread Arnd Bergmann
When CONFIG_OF is disabled, we have to include linux/errno.h before including of_graph.h, or get build errors like in the newly added sun4i drm driver: In file included from ../drivers/gpu/drm/sun4i/sun4i_drv.c:14:0: include/linux/of_graph.h: In function 'of_graph_parse_endpoint': include/linux/of

[PATCH] of: include errno.h in of_graph.h

2016-05-02 Thread Rob Herring
On Mon, May 02, 2016 at 12:59:19PM +0200, Arnd Bergmann wrote: > When CONFIG_OF is disabled, we have to include linux/errno.h before > including of_graph.h, or get build errors like in the newly added > sun4i drm driver: > > In file included from ../drivers/gpu/drm/sun4i/sun4i_drv.c:14:0: > includ