summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/board/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/board/devices.c')
-rw-r--r--arch/sandbox/board/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/board/devices.c b/arch/sandbox/board/devices.c
index dba0d5d893..62091ee142 100644
--- a/arch/sandbox/board/devices.c
+++ b/arch/sandbox/board/devices.c
@@ -25,7 +25,7 @@ static int sandbox_device_init(void)
/* reset the list_head before registering for real */
dev->list.prev = NULL;
dev->list.next = NULL;
- register_device(dev);
+ platform_device_register(dev);
}
return 0;