Re: [PATCH] regulator: Include err.h from consumer.h to fix build failure

2014-10-13 Thread Mark Brown
On Thu, Oct 09, 2014 at 12:43:27PM -0700, Guenter Roeck wrote: > sh:sh2007_defconfig fails to build with the following error: > > In file included from include/linux/regulator/machine.h:18:0, > from arch/sh/boards/board-sh2007.c:10: Applied, thanks. signature.asc Description: D

[PATCH] regulator: Include err.h from consumer.h to fix build failure

2014-10-09 Thread Guenter Roeck
sh:sh2007_defconfig fails to build with the following error: In file included from include/linux/regulator/machine.h:18:0, from arch/sh/boards/board-sh2007.c:10: include/linux/regulator/consumer.h: In function 'regulator_get_optional': include/linux/regulator/consumer.h:271:2: