mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
regulator: lochnagar: Add missing MODULE_DEVICE_TABLE
Add the missing MODULE_DEVICE_TABLE and remove the comma from the separator on the end of the of_device_id array. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
053979d239
commit
692f8b56bb
1 changed files with 2 additions and 1 deletions
|
@ -232,8 +232,9 @@ static const struct of_device_id lochnagar_of_match[] = {
|
|||
.compatible = "cirrus,lochnagar2-vddcore",
|
||||
.data = &lochnagar_regulators[LOCHNAGAR_VDDCORE],
|
||||
},
|
||||
{},
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, lochnagar_of_match);
|
||||
|
||||
static int lochnagar_regulator_probe(struct platform_device *pdev)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue