summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/board/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/board/board.c')
-rw-r--r--arch/sandbox/board/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/board/board.c b/arch/sandbox/board/board.c
index 1f6392d15e..ad2bc910c3 100644
--- a/arch/sandbox/board/board.c
+++ b/arch/sandbox/board/board.c
@@ -42,6 +42,11 @@ static struct device_d sdl_device = {
.platform_data = &mode,
};
+static struct device_d devrandom_device = {
+ .id = DEVICE_ID_DYNAMIC,
+ .name = "devrandom",
+};
+
static int devices_init(void)
{
platform_device_register(&tap_device);
@@ -54,6 +59,8 @@ static int devices_init(void)
platform_device_register(&sdl_device);
+ platform_device_register(&devrandom_device);
+
return 0;
}