Re: linux-next: Tree for Dec 17 (regulator/mcp16502.c)

From: Andrei.Stefanescu
Date: Tue Dec 18 2018 - 04:28:37 EST


Hi Randy,

Thank you for the email. The error should be fixed with this patch [1].

Best regards,
Andrei

[1] -
http://lists.infradead.org/pipermail/linux-arm-kernel/2018-December/621292.html

On 17.12.2018 18:03, Randy Dunlap wrote:
> On 12/17/18 3:09 AM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20181214:
>>
> on i386:
> # CONFIG_SUSPEND is not set
> CONFIG_PM=y
>
> CC drivers/regulator/mcp16502.o
> In file included from ../include/linux/device.h:23:0,
> from ../include/linux/gpio/driver.h:5,
> from ../include/asm-generic/gpio.h:13,
> from ../include/linux/gpio.h:62,
> from ../drivers/regulator/mcp16502.c:11:
> ../drivers/regulator/mcp16502.c:527:32: error: 'mcp16502_suspend_noirq' undeclared here (not in a function)
> SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(mcp16502_suspend_noirq,
> ^
> ../include/linux/pm.h:342:19: note: in definition of macro 'SET_NOIRQ_SYSTEM_SLEEP_PM_OPS'
> .suspend_noirq = suspend_fn, \
> ^
> ../drivers/regulator/mcp16502.c:528:10: error: 'mcp16502_resume_noirq' undeclared here (not in a function)
> mcp16502_resume_noirq)
> ^
> ../include/linux/pm.h:343:18: note: in definition of macro 'SET_NOIRQ_SYSTEM_SLEEP_PM_OPS'
> .resume_noirq = resume_fn, \
> ^
>
>
>