regulator: cpr4: null terminate of_match_table
Null terminate cpr4_mmss_regulator_match_table with '{}', to fix the error reported from KASAN. Change-Id: Ib991fe5ce57e9e12132c3c836e1e807cb0afad22 Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
This commit is contained in:
parent
2aa89ab3ff
commit
c74187e5c8
1 changed files with 1 additions and 0 deletions
|
@ -737,6 +737,7 @@ static const struct of_device_id cpr4_mmss_regulator_match_table[] = {
|
|||
.compatible = "qcom,cpr4-sdm660-mmss-ldo-regulator",
|
||||
.data = (void *)NULL,
|
||||
},
|
||||
{ },
|
||||
};
|
||||
|
||||
static struct platform_driver cpr4_mmss_regulator_driver = {
|
||||
|
|
Loading…
Add table
Reference in a new issue