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

Commit 7b8cf16a authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensors: add null terminator in dt match table



A previous change removed the null termimator on apds993X_match_table.
This may cause a potential crash. Add it back to fix the issue.

CRs-fixed: 678338
Change-Id: If091b89f2031fc4a35f954639ad799103026abd9
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 65c7182d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2560,6 +2560,7 @@ MODULE_DEVICE_TABLE(i2c, apds993x_id);
static struct of_device_id apds993X_match_table[] = {
	{ .compatible = "avago,apds9930",},
	{ .compatible = "avago,apds9900",},
	{ },
};

static const struct dev_pm_ops apds993x_pm_ops = {