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:
Родитель
053979d239
Коммит
692f8b56bb
|
@ -232,8 +232,9 @@ static const struct of_device_id lochnagar_of_match[] = {
|
||||||
.compatible = "cirrus,lochnagar2-vddcore",
|
.compatible = "cirrus,lochnagar2-vddcore",
|
||||||
.data = &lochnagar_regulators[LOCHNAGAR_VDDCORE],
|
.data = &lochnagar_regulators[LOCHNAGAR_VDDCORE],
|
||||||
},
|
},
|
||||||
{},
|
{}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, lochnagar_of_match);
|
||||||
|
|
||||||
static int lochnagar_regulator_probe(struct platform_device *pdev)
|
static int lochnagar_regulator_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче