Commit 88507a2b authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regmap/topic/core' into regmap-next

parents 18a64d84 336fb81b
...@@ -7596,6 +7596,7 @@ F: fs/reiserfs/ ...@@ -7596,6 +7596,7 @@ F: fs/reiserfs/
REGISTER MAP ABSTRACTION REGISTER MAP ABSTRACTION
M: Mark Brown <broonie@kernel.org> M: Mark Brown <broonie@kernel.org>
L: linux-kernel@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
S: Supported S: Supported
F: drivers/base/regmap/ F: drivers/base/regmap/
......
...@@ -11,12 +11,15 @@ config REGMAP ...@@ -11,12 +11,15 @@ config REGMAP
config REGMAP_I2C config REGMAP_I2C
tristate tristate
depends on I2C
config REGMAP_SPI config REGMAP_SPI
tristate tristate
depends on SPI
config REGMAP_SPMI config REGMAP_SPMI
tristate tristate
depends on SPMI
config REGMAP_MMIO config REGMAP_MMIO
tristate tristate
......
...@@ -49,8 +49,10 @@ struct regmap_async { ...@@ -49,8 +49,10 @@ struct regmap_async {
}; };
struct regmap { struct regmap {
struct mutex mutex; union {
spinlock_t spinlock; struct mutex mutex;
spinlock_t spinlock;
};
unsigned long spinlock_flags; unsigned long spinlock_flags;
regmap_lock lock; regmap_lock lock;
regmap_unlock unlock; regmap_unlock unlock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment