diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-23 21:20:17 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-23 21:20:17 -0500 |
commit | 21ebfd574a90165d8449a1911a6be16215aa1215 (patch) | |
tree | e87f44adb4a969a1270ca10e41f29f8fd2904190 | |
parent | 57cd8cd712ff08815a40f71fbaed07298106d539 (diff) | |
download | rockbox-21ebfd574a.tar.gz rockbox-21ebfd574a.zip |
fix more red in hosted targets that don't share the generic system implementation
Change-Id: I38f59005e75fb7326e655f22bbe63048f31573a3
4 files changed, 28 insertions, 0 deletions
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; +} |