]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: using module facilities requires module.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 15 Aug 2011 23:36:06 +0000 (09:36 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 16 Aug 2011 02:28:17 +0000 (19:28 -0700)
commitdbdc3a1fd570d29c46f083a72746c64444cc1528
tree4895e714df5b29e73d4ad1e67051067c2cde88be
parent4ad188a6e80c8d43232fadc5dbddd273e923c0c8
regmap: using module facilities requires module.h

Commit dede1f7792ee ("regmap: Specify a module license") added a
MODULES_LICENSE to this file without adding an include of module.h.

module.h should have been included anyway, since this file has
EXPORT_SYMBOLs as well.  With the pending module.h split up, this would
probably have caused build problems.

Cc: Stephen Warren <swarren@nvidia.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/regmap/regmap-spi.c