1. 13 10月, 2014 1 次提交
    • G
      regulator: Include err.h from consumer.h to fix build failure · 174e964e
      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:
      		error: implicit declaration of function 'ERR_PTR'
      include/linux/err.h: At top level:
      include/linux/err.h:23:35: error: conflicting types for 'ERR_PTR'
      include/linux/regulator/consumer.h:271:9:
      		note: previous implicit declaration of 'ERR_PTR' was here
      
      Since consumer.h uses ERR_PTR, it should include err.h.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      174e964e
  2. 30 9月, 2014 8 次提交
  3. 29 9月, 2014 2 次提交
  4. 28 9月, 2014 11 次提交
  5. 27 9月, 2014 10 次提交
  6. 26 9月, 2014 8 次提交