Re: [PATCH] lib: devres: Fix build breakage

2013-01-22 Thread Greg Kroah-Hartman
On Tue, Jan 22, 2013 at 10:24:46PM +0100, Thierry Reding wrote: > The ERR_PTR() and IS_ERR() macros used by the devm_ioremap_resource() > function are defined in the linux/err.h header. On ARM this seems to be > pulled in by one of the other headers but the build fails at least on > OpenRISC. > >

[PATCH] lib: devres: Fix build breakage

2013-01-22 Thread Thierry Reding
The ERR_PTR() and IS_ERR() macros used by the devm_ioremap_resource() function are defined in the linux/err.h header. On ARM this seems to be pulled in by one of the other headers but the build fails at least on OpenRISC. Signed-off-by: Thierry Reding --- lib/devres.c | 1 + 1 file changed, 1 in