summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorDaniel Wagner2015-11-30 16:20:15 +0100
committerMark Brown2015-12-01 18:06:21 +0100
commita6baa3deaf7aaec5f1c5233128b5285c4c7074e0 (patch)
tree1b17722159dd96918ed1ce1803e95248416854b3 /include/linux/regmap.h
parentregmap: replace kmalloc with kmalloc_array (diff)
downloadkernel-qcow2-linux-a6baa3deaf7aaec5f1c5233128b5285c4c7074e0.tar.gz
kernel-qcow2-linux-a6baa3deaf7aaec5f1c5233128b5285c4c7074e0.tar.xz
kernel-qcow2-linux-a6baa3deaf7aaec5f1c5233128b5285c4c7074e0.zip
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");