1
0
Fork 0
forked from len0rd/rockbox

fix more red in hosted targets that don't share the generic system implementation

Change-Id: I38f59005e75fb7326e655f22bbe63048f31573a3
This commit is contained in:
Solomon Peachy 2024-11-23 21:20:17 -05:00
parent 57cd8cd712
commit 21ebfd574a
4 changed files with 28 additions and 0 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}