* [PATCH] ARM: imx: iomux-v1.h: Fix build error due to __init annotation
@ 2012-01-05 21:33 Fabio Estevam
2012-01-22 15:08 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-01-05 21:33 UTC (permalink / raw)
To: linux-arm-kernel
Fix the following build error found when building imx_v4_v5_defconfig:
CC arch/arm/mach-imx/mach-imx27ipcam.o
In file included from arch/arm/plat-mxc/include/mach/iomux-mx27.h:23,
from arch/arm/mach-imx/mach-imx27ipcam.c:22:
arch/arm/plat-mxc/include/mach/iomux-v1.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imx_iomuxv1_init'
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
This applies against linux-next
arch/arm/plat-mxc/include/mach/iomux-v1.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-mxc/include/mach/iomux-v1.h b/arch/arm/plat-mxc/include/mach/iomux-v1.h
index 6fa8a70..f7d1804 100644
--- a/arch/arm/plat-mxc/include/mach/iomux-v1.h
+++ b/arch/arm/plat-mxc/include/mach/iomux-v1.h
@@ -96,6 +96,6 @@ extern int mxc_gpio_mode(int gpio_mode);
extern int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count,
const char *label);
-extern int __init imx_iomuxv1_init(void __iomem *base, int numports);
+extern int imx_iomuxv1_init(void __iomem *base, int numports);
#endif /* __MACH_IOMUX_V1_H__ */
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: imx: iomux-v1.h: Fix build error due to __init annotation
2012-01-05 21:33 [PATCH] ARM: imx: iomux-v1.h: Fix build error due to __init annotation Fabio Estevam
@ 2012-01-22 15:08 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2012-01-22 15:08 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sascha,
On Thu, Jan 5, 2012 at 7:33 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Fix the following build error found when building imx_v4_v5_defconfig:
>
> ?CC ? ? ?arch/arm/mach-imx/mach-imx27ipcam.o
> In file included from arch/arm/plat-mxc/include/mach/iomux-mx27.h:23,
> ? ? ? ? ? ? ? ? from arch/arm/mach-imx/mach-imx27ipcam.c:22:
> arch/arm/plat-mxc/include/mach/iomux-v1.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imx_iomuxv1_init'
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> This applies against linux-next
This is still broken in linux next. Is this patch OK?
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-22 15:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 21:33 [PATCH] ARM: imx: iomux-v1.h: Fix build error due to __init annotation Fabio Estevam
2012-01-22 15:08 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).