diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-07-24 10:26:42 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-24 16:55:30 +0100 |
commit | f484f7a6bc6f0f871627cc1f83f56077a5dc6e47 (patch) | |
tree | fce3249188eca8d776f1f46632a8d9f3644b3bd7 /include | |
parent | 2753e6f8207355ab72574d48287cec187272a151 (diff) |
regmap: irq: make flags bool and put them in a bitfield
This patch makes mask/wake_invert bool and puts all flags into a bitfield
for consistency and to save some space.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regmap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 34ebe777803..99b0f7cad75 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -486,10 +486,10 @@ struct regmap_irq_chip { unsigned int ack_base; unsigned int wake_base; unsigned int irq_reg_stride; - bool init_ack_masked; - unsigned int mask_invert; - unsigned int wake_invert; - bool runtime_pm; + bool init_ack_masked:1; + bool mask_invert:1; + bool wake_invert:1; + bool runtime_pm:1; int num_regs; |