]> 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)
commitde1f8501708fd04b0857008c8892900a1f16a0f6
tree4895e714df5b29e73d4ad1e67051067c2cde88be
parent54cf775ea03e54642732a5c0d7dc61025e52d55d
regmap: using module facilities requires module.h

Commit c44b3db48269 ("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