Re: [PATCH] mfd: syscon: include errno.h from header

2016-03-24 Thread Lee Jones
On Wed, 23 Mar 2016, Arnd Bergmann wrote: > 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': > i

[PATCH] mfd: syscon: include errno.h from header

2016-03-23 Thread Arnd Bergmann
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' unde