summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Alho <talho@nvidia.com>2014-07-11 09:06:44 +0300
committerMatthew Pedro <mapedro@nvidia.com>2015-01-15 09:07:29 -0800
commitf52812485474478f7817446919d689b047e72024 (patch)
treeb16afac0eaa3d1ba4b59e9f710bf2cee5717f487
parenta6acd970218523768e21f7ebb86d5e75840f4cc5 (diff)
edp: sysedp: NULL terminate of_device_id tables
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>
-rw-r--r--drivers/edp/sysedp_batmon_calc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edp/sysedp_batmon_calc.c b/drivers/edp/sysedp_batmon_calc.c
index 5aa21836cef1..0368a4d877d5 100644
--- a/drivers/edp/sysedp_batmon_calc.c
+++ b/drivers/edp/sysedp_batmon_calc.c
@@ -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);