Convert the argument to the newer fwnode_handle instead a device tree node. Fortunately, there are no users for now. So this is an easy change.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -18,6 +18,7 @@ · 17 unmodified lines | |||
| 18 | #include <linux/bug.h> | 18 | #include <linux/bug.h> |
| 19 | #include <linux/lockdep.h> | 19 | #include <linux/lockdep.h> |
| 20 | #include <linux/iopoll.h> | 20 | #include <linux/iopoll.h> |
| 21 | #include <linux/fwnode.h> | ||
| 21 | 22 | ||
| 22 | struct module; | 23 | struct module; |
| 23 | struct clk; | 24 | struct clk; |
| @@ -1311,21 +1312,23 @@ struct regmap_irq_chip_data; · 1287 unmodified lines | |||
| 1311 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, | 1312 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, |
| 1312 | int irq_base, const struct regmap_irq_chip *chip, | 1313 | int irq_base, const struct regmap_irq_chip *chip, |
| 1313 | struct regmap_irq_chip_data **data); | 1314 | struct regmap_irq_chip_data **data); |
| 1314 | int regmap_add_irq_chip_np(struct device_node *np, struct regmap *map, int irq, | 1315 | int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, |
| 1315 | int irq_flags, int irq_base, | 1316 | struct regmap *map, int irq, |
| 1316 | const struct regmap_irq_chip *chip, | 1317 | int irq_flags, int irq_base, |
| 1317 | struct regmap_irq_chip_data **data); | 1318 | const struct regmap_irq_chip *chip, |
| 1319 | struct regmap_irq_chip_data **data); | ||
| 1318 | void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); | 1320 | void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); |
| 1319 | 1321 | ||
| 1320 | int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, | 1322 | int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, |
| 1321 | int irq_flags, int irq_base, | 1323 | int irq_flags, int irq_base, |
| 1322 | const struct regmap_irq_chip *chip, | 1324 | const struct regmap_irq_chip *chip, |
| 1323 | struct regmap_irq_chip_data **data); | 1325 | struct regmap_irq_chip_data **data); |
| 1324 | int devm_regmap_add_irq_chip_np(struct device *dev, struct device_node *np, | 1326 | int devm_regmap_add_irq_chip_fwnode(struct device *dev, |
| 1325 | struct regmap *map, int irq, int irq_flags, | 1327 | struct fwnode_handle *fwnode, |
| 1326 | int irq_base, | 1328 | struct regmap *map, int irq, |
| 1327 | const struct regmap_irq_chip *chip, | 1329 | int irq_flags, int irq_base, |
| 1328 | struct regmap_irq_chip_data **data); | 1330 | const struct regmap_irq_chip *chip, |
| 1331 | struct regmap_irq_chip_data **data); | ||
| 1329 | void devm_regmap_del_irq_chip(struct device *dev, int irq, | 1332 | void devm_regmap_del_irq_chip(struct device *dev, int irq, |
| 1330 | struct regmap_irq_chip_data *data); | 1333 | struct regmap_irq_chip_data *data); |
| 1331 | 1334 | ||