Re: [PATCH v6 2/2] regulator: rt5133: Add RT5133 PMIC regulator Support

From: Mark Brown
Date: Mon Aug 11 2025 - 09:08:42 EST


On Thu, Jul 31, 2025 at 11:15:32AM +0800, jeff_chang@xxxxxxxxxxx wrote:
> From: Jeff Chang <jeff_chang@xxxxxxxxxxx>
>
> RT5133 is a highly-integrated chip. It includes 8 LDOs and 3 GPOs that can
> be used to drive output high/low purpose. The dependency of the GPO block is
> internally LDO1 Voltage.

This breaks an allmodconfig build:

/build/stage/linux/drivers/regulator/rt5133-regulator.c:605:15: error: incompati
ble function pointer types assigning to 'int (*)(struct gpio_chip *, unsigned in
t, int)' from 'void (struct gpio_chip *, unsigned int, int)' [-Wincompatible-fun
ction-pointer-types]
605 | priv->gc.set = rt5133_gpio_set;
| ^ ~~~~~~~~~~~~~~~
1 error generated.

Attachment: signature.asc
Description: PGP signature