Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 146a552c authored by Giulio Benetti's avatar Giulio Benetti Committed by Alexandre Belloni
Browse files

rtc: ds1307: fix data pointer to m41t0



data field points to m41t00, instead it should point to m41t0.
Driver works correctly because on both cases(m41t0 and m41t00) chip_desc
are equal.

Point to right enum m41t0 instead of m41t00.

Signed-off-by: default avatarGiulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 5089ea15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ static const struct of_device_id ds1307_of_match[] = {
	},
	{
		.compatible = "st,m41t0",
		.data = (void *)m41t00
		.data = (void *)m41t0
	},
	{
		.compatible = "st,m41t00",