Set sc->clkfreq removed in r295470
Reported by: Jared McNeill <jmcneill@invisible.ca> Pointy-hat to: andrew
This commit is contained in:
parent
20055d7691
commit
4d1defda24
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user