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)
commitb5ddbf465f3675b19c8f5528b4064cbf278a5c6f
tree4895e714df5b29e73d4ad1e67051067c2cde88be
parent870d3be1249b1397395ed3164987397993a16d91
regmap: using module facilities requires module.h

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