[PATCH 31/133] [Jaunty SRU] ARM.imx51 Freescale:ENGR00110536-5 MX51: Got rid of compiler warning.
Brad Figg
brad.figg at canonical.com
Thu Jul 9 16:48:21 UTC 2009
From: Ann Thornton <Ann.Thornton at freescale.com>
Return type for a function was incorrect.
Signed-off-by: Ann Thornton <Ann.Thornton at freescale.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
arch/arm/mach-mx51/mx51_3stack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mx51/mx51_3stack.c b/arch/arm/mach-mx51/mx51_3stack.c
index 764874f..452b6f9 100644
--- a/arch/arm/mach-mx51/mx51_3stack.c
+++ b/arch/arm/mach-mx51/mx51_3stack.c
@@ -464,7 +464,7 @@ int sdhc_write_protect(struct device *dev)
/*
* Probe for the card. If present the GPIO data would be set.
*/
-int sdhc_get_card_det_status(struct device *dev)
+unsigned int sdhc_get_card_det_status(struct device *dev)
{
int ret;
--
1.6.0.4
More information about the kernel-team
mailing list