Re: linux-next: Tree for Dec 16 (gpu/drm/vc4)

From: Eric Anholt
Date: Wed Dec 16 2015 - 19:42:42 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:

> On 12/15/15 21:43, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20151215:
>>
>
> on i386, when CONFIG_PM_SLEEP is not enabled:
>
> ../drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power':
> ../drivers/gpu/drm/vc4/vc4_v3d.c:157:29: error: called object is not a function or function pointer
> return pm_generic_poweroff(&vc4->v3d->pdev->dev);
> ^
> ../drivers/gpu/drm/vc4/vc4_v3d.c:159:27: error: called object is not a function or function pointer
> return pm_generic_resume(&vc4->v3d->pdev->dev);

A patch got sent to the PM maintainers producing static inlines in the
config-disabled case. We'll see if they like it, or if I just add a
dependency on the config option instead.

Attachment: signature.asc
Description: PGP signature