sensors: sensors_ssc: Add necessary NULL terminator to match
table
The following change mistakenly removed a NULL terminator from
the of_match_id table.
commit 2dbb824abd
Author: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Date: Wed Jan 29 17:51:14 2014 -0800
ARM: msm: Clean up sensor ADSP driver; OCMEM is no longer used
Doing so allows for memory corruption when walking the table.
Change-Id: I8ecc29da9c70298b410d21da89fe6d5c8a0322e9
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
This commit is contained in:
parent
ce80330cb8
commit
259ef0ea9e
|
@ -158,7 +158,8 @@ static int sensors_ssc_remove(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
static const struct of_device_id msm_ssc_sensors_dt_match[] = {
|
||||
{.compatible = "qcom,msm-ssc-sensors"}
|
||||
{.compatible = "qcom,msm-ssc-sensors"},
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, msm_ssc_sensors_dt_match);
|
||||
|
||||
|
|
Loading…
Reference in New Issue