summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-10 09:11:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-10 09:11:43 +0000
commitf2f394793c31ad87d629116f03b277227394407a (patch)
tree568c2a8db5d33032bb3bfbc8f86d3fa6ae876616 /firmware
parent8cfbd3604fac14f629244e521ad24ffa9938c790 (diff)
downloadrockbox-f2f394793c31ad87d629116f03b277227394407a.tar.gz
rockbox-f2f394793c31ad87d629116f03b277227394407a.tar.bz2
rockbox-f2f394793c31ad87d629116f03b277227394407a.zip
Fix red and a couple other things I somehow missed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19378 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c2
-rw-r--r--firmware/usb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c b/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c
index 81849d0852..22987abf74 100644
--- a/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-imx31.c
@@ -159,7 +159,7 @@ void mc13783_init(void)
#ifdef PMIC_DRIVER_CLOSE
void mc13783_close(void)
{
- unsigned int thread_id = mc13783_thread_p;
+ unsigned int thread_id = mc13783_thread_id;
if (thread_id == 0)
return;
diff --git a/firmware/usb.c b/firmware/usb.c
index 2bff53e5d6..95c33ad8e9 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -539,7 +539,7 @@ void usb_start_monitoring(void)
#ifdef USB_DRIVER_CLOSE
void usb_close(void)
{
- uintptr_t thread = usb_thread_entry;
+ unsigned int thread = usb_thread_entry;
usb_thread_entry = 0;
if (thread == 0)