Skip to content
Snippets Groups Projects
Commit f4a18312 authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

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: default avatarThierry Reding <thierry.reding@avionic-design.de>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 846a7981
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment