From 05999ed86d55ca51a9371b0253cdabd734539d1f Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 3 Mar 2014 11:19:56 +0100 Subject: Fix hostfs_init() return value. Change-Id: Ic8048e3fa0075de234e8879ba9faad101168bf09 --- firmware/target/hosted/samsungypr/ypr0/system-ypr0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/hosted/samsungypr/ypr0/system-ypr0.c') 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) #endif /* HAVE_MULTIDRIVE */ -void hostfs_init(void) +int hostfs_init(void) { /* Setup GPIO pin for microSD sense, copied from OF */ gpio_control(DEV_CTRL_GPIO_SET_MUX, GPIO_SD_SENSE, CONFIG_DEFAULT, 0); @@ -225,6 +225,7 @@ void hostfs_init(void) "sd thread" IF_PRIO(, PRIORITY_BACKGROUND) IF_COP(, CPU)); #endif #endif + return 0; } int hostfs_flush(void) -- cgit v1.2.3