* [PATCH] Fix build error for mach-s3c64xx
@ 2010-07-27 19:55 Darius Augulis
2010-07-28 4:24 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Darius Augulis @ 2010-07-27 19:55 UTC (permalink / raw)
To: linux-arm-kernel
If SAMSUNG_DEV_ADC is not set, s3c6410_map_io()
tries to init undefined device s3c_device_adc.
---
arch/arm/mach-s3c64xx/s3c6410.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/s3c6410.c b/arch/arm/mach-s3c64xx/s3c6410.c
index 014401c..29338bd 100644
--- a/arch/arm/mach-s3c64xx/s3c6410.c
+++ b/arch/arm/mach-s3c64xx/s3c6410.c
@@ -54,7 +54,10 @@ void __init s3c6410_map_io(void)
s3c_i2c0_setname("s3c2440-i2c");
s3c_i2c1_setname("s3c2440-i2c");
+#ifdef CONFIG_SAMSUNG_DEV_ADC
s3c_device_adc.name = "s3c64xx-adc";
+#endif
+
s3c_device_nand.name = "s3c6400-nand";
s3c_onenand_setname("s3c6410-onenand");
s3c64xx_onenand1_setname("s3c6410-onenand");
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] Fix build error for mach-s3c64xx
2010-07-27 19:55 [PATCH] Fix build error for mach-s3c64xx Darius Augulis
@ 2010-07-28 4:24 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2010-07-28 4:24 UTC (permalink / raw)
To: linux-arm-kernel
Darius Augulis wrote:
>
> If SAMSUNG_DEV_ADC is not set, s3c6410_map_io()
> tries to init undefined device s3c_device_adc.
> ---
> arch/arm/mach-s3c64xx/s3c6410.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-s3c64xx/s3c6410.c
b/arch/arm/mach-s3c64xx/s3c6410.c
> index 014401c..29338bd 100644
> --- a/arch/arm/mach-s3c64xx/s3c6410.c
> +++ b/arch/arm/mach-s3c64xx/s3c6410.c
> @@ -54,7 +54,10 @@ void __init s3c6410_map_io(void)
> s3c_i2c0_setname("s3c2440-i2c");
> s3c_i2c1_setname("s3c2440-i2c");
>
> +#ifdef CONFIG_SAMSUNG_DEV_ADC
> s3c_device_adc.name = "s3c64xx-adc";
> +#endif
> +
> s3c_device_nand.name = "s3c6400-nand";
> s3c_onenand_setname("s3c6410-onenand");
> s3c64xx_onenand1_setname("s3c6410-onenand");
>
>
Hi,
Already submitted and applied about this.
Please refer to below URL.
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-June/019225.html
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-July/019436.html
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:[~2010-07-28 4:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 19:55 [PATCH] Fix build error for mach-s3c64xx Darius Augulis
2010-07-28 4:24 ` Kukjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox