Eric Anholt <e...@anholt.net> writes:
> +#ifdef CONFIG_PM_SLEEP
> +static int vc4_v3d_runtime_suspend(struct device *dev)
> +{
> +     struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +     struct vc4_dev *vc4 = v3d->vc4;
> +
> +     vc4_irq_uninstall(vc4->dev);
> +
> +     return 0;
> +}
> +
> +static int vc4_v3d_runtime_resume(struct device *dev)
> +{
> +     struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +     struct vc4_dev *vc4 = v3d->vc4;
> +
> +     vc4_v3d_init_hw(vc4->dev);
> +     vc4_irq_postinstall(vc4->dev);
> +
> +     return 0;
> +}
> +#endif

kbuild test robot caught that this #ifdef should have been CONFIG_PM,
not CONFIG_PM_SLEEP.  Fixed in v2.

Attachment: signature.asc
Description: PGP signature

Reply via email to