From af4c55bd1126a81c3d673f547b90e3602342870f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 11 May 2013 21:20:49 -0400 Subject: [PATCH] Set the right variable type for ucallback :) Change-Id: I19eace9452d9d0b2a6c7770549930c83ece05c80 --- firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c index 545905d4c2..d7ebeea024 100644 --- a/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c @@ -87,7 +87,7 @@ void watchdog_service(void) /** uevent APIs **/ -static void (*ucallback)(void) = NULL; /* uevent callback */ +static uevent_cb_type ucallback = NULL; /* uevent callback */ static void cancel_uevent(void) {