summaryrefslogtreecommitdiff
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2015-11-30 18:20:15 +0300
committerMark Brown <broonie@kernel.org>2015-12-01 20:06:21 +0300
commita6baa3deaf7aaec5f1c5233128b5285c4c7074e0 (patch)
tree1b17722159dd96918ed1ce1803e95248416854b3 /include/linux/regmap.h
parent549e08a0a93442ab62e0aee8aeb8ae6a7f2b5273 (diff)
downloadlinux-a6baa3deaf7aaec5f1c5233128b5285c4c7074e0.tar.xz
regmap: Fix leftover from struct reg_default to struct reg_sequence change
In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch") struct reg_default was renamed to struct reg_secquence, which missed one place to fix up. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index d68bb402120e..4d9a1a04647b 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -1021,7 +1021,7 @@ static inline void regmap_async_complete(struct regmap *map)
}
static inline int regmap_register_patch(struct regmap *map,
- const struct reg_default *regs,
+ const struct reg_sequence *regs,
int num_regs)
{
WARN_ONCE(1, "regmap API is disabled");