summaryrefslogtreecommitdiffstats
path: root/commands/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/mem.c')
-rw-r--r--commands/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/mem.c b/commands/mem.c
index 441b7f25d1..6fbc7cc4af 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -614,7 +614,7 @@ static int mem_init(void)
}
add_mem_device("mem", 0, ~0, IORESOURCE_MEM_WRITEABLE);
- register_driver(&mem_drv);
+ platform_driver_register(&mem_drv);
return 0;
}