regmap: Constify regmap_irq_chip
We should never be modifying it and it lets drivers declare it const. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
6a55244e89
commit
b026ddbbd2
2 changed files with 4 additions and 4 deletions
|
@ -268,7 +268,7 @@ struct regmap_irq_chip {
|
|||
struct regmap_irq_chip_data;
|
||||
|
||||
int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
|
||||
int irq_base, struct regmap_irq_chip *chip,
|
||||
int irq_base, const struct regmap_irq_chip *chip,
|
||||
struct regmap_irq_chip_data **data);
|
||||
void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data);
|
||||
int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue