Re: [PATCH] drm/hisilicon: add back missing } on ade_dc_ops

From: Daniel Vetter
Date: Wed Aug 17 2016 - 07:22:06 EST


On Wed, Aug 17, 2016 at 12:09:24PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Fix build error by adding back the closing } on ade_dc_ops which
> got accidentally removed from an earlier commit.
>
> Fixes: d25bcfb8c2e18b9b36 ("Don't set drm_device->platformdev")

Yeah that patch was horribly screwed up, but at least in my testing
there's more broken with it. Does this really fix it?
-Daniel

> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> index 91188f3..c9f8166 100644
> --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> @@ -1062,4 +1062,4 @@ static void ade_drm_cleanup(struct platform_device *pdev)
> const struct kirin_dc_ops ade_dc_ops = {
> .init = ade_drm_init,
> .cleanup = ade_drm_cleanup
> -;
> +};
> --
> 2.9.3
>

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch