edp: sysedp: NULL terminate of_device_id tables
Timo Alho [Fri, 11 Jul 2014 06:06:44 +0000 (09:06 +0300)]
of_device_id tables need to be NULL terminated. This patch fixes the
missing NULL termination within sysedp_batmon_calc module.

Bug 1539761

Change-Id: I7b1f48b85fce84337d8d2093fe7886f965d0b28f
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/437001
(cherry picked from commit 305fceeceed23782a1170ed60b87059010a83c61)
Reviewed-on: http://git-master/r/671006
Reviewed-by: Steve Rogers <srogers@nvidia.com>

drivers/edp/sysedp_batmon_calc.c

index 5aa2183..0368a4d 100644 (file)
@@ -706,6 +706,7 @@ static int batmon_probe(struct platform_device *pdev)
 
 static const struct of_device_id batmon_calc_of_match[] = {
        { .compatible = "nvidia,tegra124-sysedp_batmon_calc", },
+       { },
 };
 MODULE_DEVICE_TABLE(of, batmon_calc_of_match);