Skip to content

Commit

Permalink
Merge remote-tracking branch 'regmap/topic/core' into regmap-next
Browse files Browse the repository at this point in the history
  • Loading branch information
broonie committed Sep 29, 2014
2 parents 18a64d8 + 336fb81 commit 88507a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7596,6 +7596,7 @@ F: fs/reiserfs/

REGISTER MAP ABSTRACTION
M: Mark Brown <[email protected]>
L: [email protected]
T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git
S: Supported
F: drivers/base/regmap/
Expand Down
3 changes: 3 additions & 0 deletions drivers/base/regmap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ config REGMAP

config REGMAP_I2C
tristate
depends on I2C

config REGMAP_SPI
tristate
depends on SPI

config REGMAP_SPMI
tristate
depends on SPMI

config REGMAP_MMIO
tristate
Expand Down
6 changes: 4 additions & 2 deletions drivers/base/regmap/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ struct regmap_async {
};

struct regmap {
struct mutex mutex;
spinlock_t spinlock;
union {
struct mutex mutex;
spinlock_t spinlock;
};
unsigned long spinlock_flags;
regmap_lock lock;
regmap_unlock unlock;
Expand Down

0 comments on commit 88507a2

Please sign in to comment.