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

Stephen Rothwell
2022-07-05T01:54:52Z

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]