summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/ramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/ramdisk.c')
-rw-r--r--firmware/drivers/ramdisk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c
index 44235c4575..9f73b6b5c3 100644
--- a/firmware/drivers/ramdisk.c
+++ b/firmware/drivers/ramdisk.c
@@ -159,3 +159,8 @@ bool ramdisk_present(IF_MD(int drive))
}
#endif
+int ramdisk_event(long id, intptr_t data)
+{
+ return storage_event_default_handler(id, data, last_disk_activity,
+ STORAGE_RAMDISK);
+}