diff --git a/firmware/target/hosted/ibasso/system-ibasso.c b/firmware/target/hosted/ibasso/system-ibasso.c index 401bb3c442..5aa74ab6d0 100644 --- a/firmware/target/hosted/ibasso/system-ibasso.c +++ b/firmware/target/hosted/ibasso/system-ibasso.c @@ -150,3 +150,10 @@ bool volume_present(int volume) return hostfs_present(volume); } #endif + +int volume_partition(int volume) +{ + (void)volume; + /* Hosted only implement a single parition per "drive" */ + return 0; +} diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c index ee6dc48070..65efa2a0ac 100644 --- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c +++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c @@ -281,3 +281,10 @@ void set_cpu_frequency(long frequency) } } #endif + +int volume_partition(int volume) +{ + (void)volume; + /* Hosted only implement a single parition per "drive" */ + return 0; +} diff --git a/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c b/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c index 6b7d74b5f7..adeba1417d 100644 --- a/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c +++ b/firmware/target/hosted/samsungypr/ypr1/system-ypr1.c @@ -80,3 +80,10 @@ int hostfs_flush(void) return 0; } + +int volume_partition(int volume) +{ + (void)volume; + /* Hosted only implement a single parition per "drive" */ + return 0; +} diff --git a/firmware/target/hosted/sonynwz/system-nwz.c b/firmware/target/hosted/sonynwz/system-nwz.c index 00a3b77252..e525042070 100644 --- a/firmware/target/hosted/sonynwz/system-nwz.c +++ b/firmware/target/hosted/sonynwz/system-nwz.c @@ -296,3 +296,10 @@ bool volume_present(int volume) return hostfs_present(volume); } #endif /* HAVE_HOTSWAP */ + +int volume_partition(int volume) +{ + (void)volume; + /* Hosted only implement a single parition per "drive" */ + return 0; +}