summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr0/system-ypr0.c')
-rw-r--r--firmware/target/hosted/samsungypr/ypr0/system-ypr0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
index e36fbed145..a21c82b1f2 100644
--- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
+++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c
@@ -212,7 +212,7 @@ static void NORETURN_ATTR sd_thread(void)
212 212
213#endif /* HAVE_MULTIDRIVE */ 213#endif /* HAVE_MULTIDRIVE */
214 214
215void hostfs_init(void) 215int hostfs_init(void)
216{ 216{
217 /* Setup GPIO pin for microSD sense, copied from OF */ 217 /* Setup GPIO pin for microSD sense, copied from OF */
218 gpio_control(DEV_CTRL_GPIO_SET_MUX, GPIO_SD_SENSE, CONFIG_DEFAULT, 0); 218 gpio_control(DEV_CTRL_GPIO_SET_MUX, GPIO_SD_SENSE, CONFIG_DEFAULT, 0);
@@ -225,6 +225,7 @@ void hostfs_init(void)
225 "sd thread" IF_PRIO(, PRIORITY_BACKGROUND) IF_COP(, CPU)); 225 "sd thread" IF_PRIO(, PRIORITY_BACKGROUND) IF_COP(, CPU));
226#endif 226#endif
227#endif 227#endif
228 return 0;
228} 229}
229 230
230int hostfs_flush(void) 231int hostfs_flush(void)