]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
regmap: Specify a module license
authorStephen Warren <swarren@nvidia.com>
Thu, 11 Aug 2011 17:59:10 +0000 (11:59 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Aug 2011 01:42:02 +0000 (10:42 +0900)
commitb33f9cbd67ba1a1c46879ec66467269f09cde8e5
tree375e8146ff4fe6505a155020c3b60d353b1543e7
parent40c5cc263954444f5a76cbf25d408c42da480122
regmap: Specify a module license

CONFIG_REGMAP_I2C/SPI are set to m when selected by a tristate config
option that's set to m. The regmap modules don't specify a license, so
fail to link to regmap_init at load time, since that is EXPORT_SYMBOL_GPL.
Fix this by specifying a license for the regmap modules.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-i2c.c
drivers/base/regmap/regmap-spi.c