]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/devres.c
lib: devres: Fix build breakage
authorThierry Reding <thierry.reding@avionic-design.de>
Tue, 22 Jan 2013 21:24:46 +0000 (22:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 21:31:18 +0000 (13:31 -0800)
commitf4a18312f46a6c6e0ba7b81776b01fc36edea9fc
treeff322b85a44eafdb2b72e525b8d1391f47e31b6b
parent846a798174d3376542a394a3c5227ef149445e83
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 <thierry.reding@avionic-design.de>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/devres.c