[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1535964024-23841-1-git-send-email-dingxiang@cmss.chinamobile.com>
Date: Mon, 3 Sep 2018 16:40:24 +0800
From: Ding Xiang <dingxiang@...s.chinamobile.com>
To: gustavo@...ovan.org, maarten.lankhorst@...ux.intel.com,
sean@...rly.run, airlied@...ux.ie, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] gpu: drm: Fix vexpress_muxfpga_match terminate error
vexpress_muxfpga_match needs NULL terminate, fix it.
Signed-off-by: Ding Xiang <dingxiang@...s.chinamobile.com>
---
drivers/gpu/drm/pl111/pl111_vexpress.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/pl111/pl111_vexpress.c b/drivers/gpu/drm/pl111/pl111_vexpress.c
index a534b22..5fa0441 100644
--- a/drivers/gpu/drm/pl111/pl111_vexpress.c
+++ b/drivers/gpu/drm/pl111/pl111_vexpress.c
@@ -111,7 +111,8 @@ static int vexpress_muxfpga_probe(struct platform_device *pdev)
}
static const struct of_device_id vexpress_muxfpga_match[] = {
- { .compatible = "arm,vexpress-muxfpga", }
+ { .compatible = "arm,vexpress-muxfpga", },
+ {}
};
static struct platform_driver vexpress_muxfpga_driver = {
--
1.9.1
Powered by blists - more mailing lists