diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2007-10-19 08:10:15 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-10-24 00:29:06 +0200 |
commit | 9c4884f54da982ce990c7d1760ac81b0704d3c64 (patch) | |
tree | ebecc2e1358062d77fe89c555a73b97b9f2f9688 /cpu/arm920t/at91rm9200/usb.c | |
parent | e78220f6e514206757acfe247297fc9a328a881f (diff) | |
download | u-boot-imx-9c4884f54da982ce990c7d1760ac81b0704d3c64.zip u-boot-imx-9c4884f54da982ce990c7d1760ac81b0704d3c64.tar.gz u-boot-imx-9c4884f54da982ce990c7d1760ac81b0704d3c64.tar.bz2 |
fix warning: no return statement in function returning non-void
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm920t/at91rm9200/usb.c')
-rw-r--r-- | cpu/arm920t/at91rm9200/usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/arm920t/at91rm9200/usb.c b/cpu/arm920t/at91rm9200/usb.c index 366262e..c121de6 100644 --- a/cpu/arm920t/at91rm9200/usb.c +++ b/cpu/arm920t/at91rm9200/usb.c @@ -28,7 +28,7 @@ #include <asm/arch/hardware.h> -int usb_cpu_init() +int usb_cpu_init(void) { /* Enable USB host clock. */ *AT91C_PMC_SCER = AT91C_PMC_UHP; /* 48MHz clock enabled for UHP */ @@ -36,7 +36,7 @@ int usb_cpu_init() return 0; } -int usb_cpu_stop() +int usb_cpu_stop(void) { /* Initialization failed */ *AT91C_PMC_PCDR = 1 << AT91C_ID_UHP; /* Peripheral Clock Disable Register */ @@ -44,9 +44,9 @@ int usb_cpu_stop() return 0; } -int usb_cpu_init_fail() +int usb_cpu_init_fail(void) { - usb_cpu_stop(); + return usb_cpu_stop(); } # endif /* CONFIG_AT91RM9200 */ |