From: Thierry Reding Date: Tue, 22 Jan 2013 21:24:46 +0000 (+0100) Subject: lib: devres: Fix build breakage X-Git-Tag: v3.9-rc1~128^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a18312f46a6c6e0ba7b81776b01fc36edea9fc;p=pandora-kernel.git lib: devres: Fix build breakage 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 Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed