]> git.baikalelectronics.ru Git - kernel.git/commit
regulators: db8500: Fix compile failure for drivers/regulator/dbx500-prcmu.c
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 24 Jan 2013 15:29:26 +0000 (10:29 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Jan 2013 07:30:06 +0000 (15:30 +0800)
commitec76a0a276d33cb78536653c968d457e1c2a938d
treed8461c245f4306de570839b99c1e2dd05ad2d94e
parent39b91da8243ed8c6c289f77388f054e40eea6afc
regulators: db8500: Fix compile failure for drivers/regulator/dbx500-prcmu.c

Building for the snowball board, I ran into this compile failure:

  CC      drivers/regulator/dbx500-prcmu.o
arm-test.git/drivers/regulator/dbx500-prcmu.c:119:11: error: 'THIS_MODULE' undeclared here (not in a function)
make[3]: *** [drivers/regulator/dbx500-prcmu.o] Error 1
make[2]: *** [drivers/regulator] Error 2

Commit 69bf6c029 "regulators/db8500: split off shared dbx500 code"
separated out the dbx500 code but did not copy over the required include
to linux/module.h.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/dbx500-prcmu.c