Unverified Commit 692f8b56 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

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: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 053979d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)
{