From: Thomas Meyer Date: Mon, 27 May 2019 20:41:15 +0000 (+0200) Subject: drm/omap: Make sure device_id tables are NULL terminated X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ee2db22dbadd3eba4d9b8f66778ee76bde2b6b1;p=openwrt%2Fstaging%2Fblogic.git drm/omap: Make sure device_id tables are NULL terminated Make sure (of/i2c/platform)_device_id tables are NULL terminated. Signed-off-by: Thomas Meyer Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c index 2b41c75ce988..e02aa8e70968 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c +++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c @@ -198,6 +198,7 @@ static const struct of_device_id omapdss_of_fixups_whitelist[] __initconst = { { .compatible = "toppoly,td028ttec1" }, { .compatible = "tpo,td028ttec1" }, { .compatible = "tpo,td043mtea1" }, + {}, }; static int __init omapdss_boot_init(void)