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:
Michael Bohan 2014-02-20 15:52:40 -08:00
parent ce80330cb8
commit 259ef0ea9e
1 changed files with 2 additions and 1 deletions

View File

@ -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);