summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-30 01:08:34 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-30 01:29:18 -0400
commitda4938d6eed9c1c29e389e9a1de6a599d365fe09 (patch)
tree31d34d70b83583f91626e23fb83dbba4eb094284 /firmware
parentf3d60aea34de60c4371c04fa1b8482ca71a64b53 (diff)
downloadrockbox-da4938d6eed9c1c29e389e9a1de6a599d365fe09.tar.gz
rockbox-da4938d6eed9c1c29e389e9a1de6a599d365fe09.zip
Get the last errors I hope!
Change-Id: Ia285b95480cc9ac6494b745d80892c4b1b912341
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/samsungypr/ypr0/system-ypr0.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
index a21c82b1f2..9cc307073b 100644
--- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
+++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
@@ -94,6 +94,20 @@ bool hostfs_present(IF_MD_NONVOID(int drive))
94 return true; /* internal: always present */ 94 return true; /* internal: always present */
95} 95}
96 96
97#ifdef HAVE_MULTIDRIVE
98int volume_drive(int drive)
99{
100 return drive;
101}
102#endif /* HAVE_MULTIDRIVE */
103
104#ifdef CONFIG_STORAGE_MULTI
105int hostfs_driver_type(int drive)
106{
107 return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM;
108}
109#endif /* CONFIG_STORAGE_MULTI */
110
97#ifdef HAVE_HOTSWAP 111#ifdef HAVE_HOTSWAP
98bool volume_removable(int volume) 112bool volume_removable(int volume)
99{ 113{