summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/ofw/ofw_cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/ofw/ofw_cpu.c')
-rw-r--r--sys/powerpc/ofw/ofw_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/ofw/ofw_cpu.c b/sys/powerpc/ofw/ofw_cpu.c
index 6fb1126..6cc6484 100644
--- a/sys/powerpc/ofw/ofw_cpu.c
+++ b/sys/powerpc/ofw/ofw_cpu.c
@@ -158,7 +158,7 @@ static device_method_t ofw_cpu_methods[] = {
static driver_t ofw_cpu_driver = {
"cpu",
ofw_cpu_methods,
- 0
+ sizeof(struct ofw_cpu_softc)
};
static devclass_t ofw_cpu_devclass;
OpenPOWER on IntegriCloud