Commit 9896169a authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: pl030: set range

parent 6a5bbad5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ static int pl030_probe(struct amba_device *dev, const struct amba_id *id)
	}

	rtc->rtc->ops = &pl030_ops;
	rtc->rtc->range_max = U32_MAX;
	rtc->base = ioremap(dev->res.start, resource_size(&dev->res));
	if (!rtc->base) {
		ret = -ENOMEM;