linux-next: build failure after merge of the mfd tree

From: Stephen Rothwell
Date: Mon Jul 04 2022 - 21:54:54 EST


Hi all,

After merging the mfd tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/mfd/axp20x.c:634:35: error: initialization of 'unsigned int (*)(struct regmap_irq_chip_data *, unsigned int, int)' from incompatible pointer type 'int (*)(unsigned int, int)' [-Werror=incompatible-pointer-types]
634 | .get_irq_reg = axp192_get_irq_reg,
| ^~~~~~~~~~~~~~~~~~
drivers/mfd/axp20x.c:634:35: note: (near initialization for 'axp192_regmap_irq_chip.get_irq_reg')

Caused by commit

8c7d8aa029a3 ("mfd: axp20x: Add support for AXP192")

I have used the mfd tree from next-20220704 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpGVbWt74117.pgp
Description: OpenPGP digital signature