Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1479ab80 authored by Jack Pham's avatar Jack Pham
Browse files

misc: apq8084_dock: NULL-terminate of_match_table



The DT of_match_table is missing the NULL entry that
is needed to terminate the table. Without this there
is a risk of corrupting memory.

CRs-fixed: 620821
Change-Id: I067d3a990d166c626b6ae4e9cdc406454ad52847
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent ce80330c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -149,8 +149,8 @@ static int apq8084_dock_remove(struct platform_device *pdev)
}

static struct of_device_id of_match_table[] = {
	{       .compatible = "qcom,apq8084-dock",
	}
	{ .compatible = "qcom,apq8084-dock", },
	{ },
};

static struct platform_driver apq8084_dock_driver = {