[PATCH] compile fix h3_mmc_init prototype definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix h3_mmc_init prototype definition on include/asm/arch/board-h3.h.

In file included from include/asm/arch/hardware.h:315,
                 from include/asm/hardware.h:16,
                 from include/asm/arch/irqs.h:343,
                 from include/asm/irq.h:4,
                 from include/linux/kernel_stat.h:4,
                 from arch/arm/kernel/irq.c:24:
include/asm/arch/board-h3.h:39: error: syntax error before "h3_mmc_init"
include/asm/arch/board-h3.h:39: warning: type defaults to `int' in declaration of `h3_mmc_init'
include/asm/arch/board-h3.h:39: warning: data definition has noh3_mmc_init type or storage class

Signed-off-by: Francisco Alecrim <francisco.alecrim@xxxxxxxxxxx>
Signed-off-by: Felipe Balbi <felipe.lima@xxxxxxxxxxx>
---
 include/asm-arm/arch-omap/board-h3.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-arm/arch-omap/board-h3.h b/include/asm-arm/arch-omap/board-h3.h
index 1c2b55c..0f64044 100644
--- a/include/asm-arm/arch-omap/board-h3.h
+++ b/include/asm-arm/arch-omap/board-h3.h
@@ -36,7 +36,7 @@
 
 #define NR_IRQS				(MAXIRQNUM + 1)
 
-extern void __init h3_mmc_init(void);
+extern void h3_mmc_init(void);
 extern void h3_mmc_slot_cover_handler(void *arg, int state);
 
 #endif /*  __ASM_ARCH_OMAP_H3_H */
-- 
1.5.3.7

-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux