summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorMartin Krause <martin.krause@tqs.de>2007-08-21 12:40:34 +0200
committerWolfgang Denk <wd@denx.de>2007-08-29 02:09:58 +0200
commit4a8527ef086ec7c89f40674ef024ae6f988a614a (patch)
treea1e07fdd562569e725f7be5108a192fbbd46db78 /cpu
parent16e23c3f5dab6937f5109365416808c7f15c122b (diff)
downloadu-boot-imx-4a8527ef086ec7c89f40674ef024ae6f988a614a.zip
u-boot-imx-4a8527ef086ec7c89f40674ef024ae6f988a614a.tar.gz
u-boot-imx-4a8527ef086ec7c89f40674ef024ae6f988a614a.tar.bz2
MPC5xxx: fix some compiler warnings in USB code
Fix the following warnings: - usb.c:xx: warning: function declaration isn't a prototype - usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer from pointer wihtout a cast Signed-off-by: Martin Krause <martin.krase@tqs.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc5xxx/usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc5xxx/usb.c b/cpu/mpc5xxx/usb.c
index ce709fc..ed467ab 100644
--- a/cpu/mpc5xxx/usb.c
+++ b/cpu/mpc5xxx/usb.c
@@ -27,7 +27,7 @@
#include <mpc5xxx.h>
-int usb_cpu_init()
+int usb_cpu_init(void)
{
/* Set the USB Clock */
*(vu_long *)MPC5XXX_CDM_48_FDC = CONFIG_USB_CLOCK;
@@ -41,12 +41,12 @@ int usb_cpu_init()
return 0;
}
-int usb_cpu_stop()
+int usb_cpu_stop(void)
{
return 0;
}
-int usb_cpu_init_fail()
+int usb_cpu_init_fail(void)
{
return 0;
}