* [PATCH] ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board
@ 2012-03-07 5:20 Tushar Behera
2012-03-07 13:02 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Tushar Behera @ 2012-03-07 5:20 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: thomas.abraham, kgene.kim, patches
Commit 84499abd19d4 ("ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5")
renames S5P_PA_UARTn to EXYNOS4_PA_UARTn. Hence we need to do
similar modification in mach-exynos4-dt.c to fix compilation error.
arch/arm/mach-exynos/mach-exynos4-dt.c:40:2: error: ‘S5P_PA_UART0’
undeclared here (not in a function)
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
arch/arm/mach-exynos/mach-exynos4-dt.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c
index e6b02fd..8245f1c 100644
--- a/arch/arm/mach-exynos/mach-exynos4-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
@@ -37,13 +37,13 @@
* data from the device tree.
*/
static const struct of_dev_auxdata exynos4210_auxdata_lookup[] __initconst = {
- OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART0,
+ OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART0,
"exynos4210-uart.0", NULL),
- OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART1,
+ OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART1,
"exynos4210-uart.1", NULL),
- OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART2,
+ OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART2,
"exynos4210-uart.2", NULL),
- OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART3,
+ OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART3,
"exynos4210-uart.3", NULL),
OF_DEV_AUXDATA("samsung,exynos4210-sdhci", EXYNOS4_PA_HSMMC(0),
"exynos4-sdhci.0", NULL),
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board
2012-03-07 5:20 [PATCH] ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board Tushar Behera
@ 2012-03-07 13:02 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2012-03-07 13:02 UTC (permalink / raw)
To: Tushar Behera; +Cc: linux-samsung-soc, thomas.abraham, kgene.kim, patches
On 03/06/12 21:20, Tushar Behera wrote:
> Commit 84499abd19d4 ("ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5")
> renames S5P_PA_UARTn to EXYNOS4_PA_UARTn. Hence we need to do
> similar modification in mach-exynos4-dt.c to fix compilation error.
>
> arch/arm/mach-exynos/mach-exynos4-dt.c:40:2: error: ‘S5P_PA_UART0’
> undeclared here (not in a function)
>
> Signed-off-by: Tushar Behera<tushar.behera@linaro.org>
> ---
> arch/arm/mach-exynos/mach-exynos4-dt.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c
> index e6b02fd..8245f1c 100644
> --- a/arch/arm/mach-exynos/mach-exynos4-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos4-dt.c
> @@ -37,13 +37,13 @@
> * data from the device tree.
> */
> static const struct of_dev_auxdata exynos4210_auxdata_lookup[] __initconst = {
> - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART0,
> + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART0,
> "exynos4210-uart.0", NULL),
> - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART1,
> + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART1,
> "exynos4210-uart.1", NULL),
> - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART2,
> + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART2,
> "exynos4210-uart.2", NULL),
> - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART3,
> + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART3,
> "exynos4210-uart.3", NULL),
> OF_DEV_AUXDATA("samsung,exynos4210-sdhci", EXYNOS4_PA_HSMMC(0),
> "exynos4-sdhci.0", NULL),
Applied, thanks.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-07 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 5:20 [PATCH] ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board Tushar Behera
2012-03-07 13:02 ` Kukjin Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.