diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-23 13:36:53 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-04-11 15:31:40 +0300 |
commit | adae28c59a6a71a971ffed713550911546df0e20 (patch) | |
tree | 5e9b6f537327ed57267d7ec39640cd73b1034224 /drivers/mfd | |
parent | ee414de525a9abf29e8a1b0c1b6f79f9e875213a (diff) | |
download | linux-adae28c59a6a71a971ffed713550911546df0e20.tar.xz |
mfd: syscon: Include errno.h from header
The syscon header uses the ENOTSUPP error constant, but doesn't
include the header that defines it. This causes a build error
after the imx pinctrl driver started using syscon:
include/linux/mfd/syscon.h: In function 'syscon_node_to_regmap':
include/linux/mfd/syscon.h:32:18: error: 'ENOTSUPP' undeclared (first use in this function)
return ERR_PTR(-ENOTSUPP);
^~~~~~~~
This adds the missing #include.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8626ada871f1 ("pinctrl: imx: attach iomuxc device to gpr syscon")
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions