diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regmap-irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 4fac4b9be88f..c190229daa59 100644 --- a/drivers/base/regmap/regmap-irq.c +++ b/drivers/base/regmap/regmap-irq.c | |||
@@ -24,7 +24,7 @@ struct regmap_irq_chip_data { | |||
24 | struct mutex lock; | 24 | struct mutex lock; |
25 | 25 | ||
26 | struct regmap *map; | 26 | struct regmap *map; |
27 | struct regmap_irq_chip *chip; | 27 | const struct regmap_irq_chip *chip; |
28 | 28 | ||
29 | int irq_base; | 29 | int irq_base; |
30 | struct irq_domain *domain; | 30 | struct irq_domain *domain; |
@@ -103,7 +103,7 @@ static struct irq_chip regmap_irq_chip = { | |||
103 | static irqreturn_t regmap_irq_thread(int irq, void *d) | 103 | static irqreturn_t regmap_irq_thread(int irq, void *d) |
104 | { | 104 | { |
105 | struct regmap_irq_chip_data *data = d; | 105 | struct regmap_irq_chip_data *data = d; |
106 | struct regmap_irq_chip *chip = data->chip; | 106 | const struct regmap_irq_chip *chip = data->chip; |
107 | struct regmap *map = data->map; | 107 | struct regmap *map = data->map; |
108 | int ret, i; | 108 | int ret, i; |
109 | bool handled = false; | 109 | bool handled = false; |
@@ -195,7 +195,7 @@ static struct irq_domain_ops regmap_domain_ops = { | |||
195 | * register values used by the IRQ controller over suspend and resume. | 195 | * register values used by the IRQ controller over suspend and resume. |
196 | */ | 196 | */ |
197 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, | 197 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, |
198 | int irq_base, struct regmap_irq_chip *chip, | 198 | int irq_base, const struct regmap_irq_chip *chip, |
199 | struct regmap_irq_chip_data **data) | 199 | struct regmap_irq_chip_data **data) |
200 | { | 200 | { |
201 | struct regmap_irq_chip_data *d; | 201 | struct regmap_irq_chip_data *d; |