Set sc->clkfreq removed in r295470

Reported by:	Jared McNeill <jmcneill@invisible.ca>
Pointy-hat to:	andrew
This commit is contained in:
Andrew Turner 2016-02-15 19:14:24 +00:00
parent 20055d7691
commit 4d1defda24

View File

@ -363,6 +363,8 @@ arm_tmr_attach(device_t dev)
if (node > 0) {
error = OF_getencprop(node, "clock-frequency", &clock,
sizeof(clock));
if (error > 0)
sc->clkfreq = clock;
}
#endif