From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/9] ARM: S5PV210: add support for device-table on Aquila&Goni
Date: Wed, 11 Aug 2010 14:03:53 +0200 [thread overview]
Message-ID: <1281528238-7298-5-git-send-email-m.szyprowski@samsung.com> (raw)
In-Reply-To: <1281528238-7298-1-git-send-email-m.szyprowski@samsung.com>
Add initial, empty device-table arrays, they will be populated later.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
arch/arm/mach-s5pv210/mach-aquila.c | 4 ++++
arch/arm/mach-s5pv210/mach-goni.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c
index e412664..7989932 100644
--- a/arch/arm/mach-s5pv210/mach-aquila.c
+++ b/arch/arm/mach-s5pv210/mach-aquila.c
@@ -488,6 +488,9 @@ static struct platform_device *aquila_devices[] __initdata = {
&s5p_device_fimc2,
};
+static struct s3c_devtable aquila_devtable[] __initdata = {
+};
+
static void __init aquila_map_io(void)
{
s5p_init_io(NULL, 0, S5P_VA_CHIPID);
@@ -512,6 +515,7 @@ static void __init aquila_machine_init(void)
s3c_fb_set_platdata(&aquila_lcd_pdata);
platform_add_devices(aquila_devices, ARRAY_SIZE(aquila_devices));
+ samsung_add_devices(aquila_devtable, ARRAY_SIZE(aquila_devtable));
}
MACHINE_START(AQUILA, "Aquila")
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c
index 53754d7..6f555cf 100644
--- a/arch/arm/mach-s5pv210/mach-goni.c
+++ b/arch/arm/mach-s5pv210/mach-goni.c
@@ -467,6 +467,9 @@ static struct platform_device *goni_devices[] __initdata = {
&s3c_device_hsmmc2,
};
+static struct s3c_devtable goni_devtable[] __initdata = {
+};
+
static void __init goni_map_io(void)
{
s5p_init_io(NULL, 0, S5P_VA_CHIPID);
@@ -487,6 +490,7 @@ static void __init goni_machine_init(void)
s3c_fb_set_platdata(&goni_lcd_pdata);
platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices));
+ samsung_add_devices(goni_devtable, ARRAY_SIZE(goni_devtable));
}
MACHINE_START(GONI, "GONI")
--
1.7.1.569.g6f426
next prev parent reply other threads:[~2010-08-11 12:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 12:03 [PATCH/RFC] Samsung device-table approach Marek Szyprowski
2010-08-11 12:03 ` [PATCH 1/9] ARM: Samsung: add device-table core functions Marek Szyprowski
2010-08-11 12:03 ` [PATCH 2/9] ARM: S5PV210: add initial device-table Marek Szyprowski
2010-08-11 12:03 ` [PATCH 3/9] ARM: S5PV210: convert uart to device-table Marek Szyprowski
2010-08-11 12:03 ` Marek Szyprowski [this message]
2010-08-11 12:03 ` [PATCH 5/9] ARM: S5PV210: convert OneNAND " Marek Szyprowski
2010-08-11 12:03 ` [PATCH 6/9] ARM: S5PV210: convert sdhci " Marek Szyprowski
2010-08-11 12:03 ` [PATCH 7/9] ARM: S5PV210: convert framebuffer " Marek Szyprowski
2010-08-11 12:03 ` [PATCH 8/9] ARM: S5PV210: convert i2c " Marek Szyprowski
2010-08-11 12:03 ` [PATCH 9/9] ARM: S5PV210: add i2c device on Aquila Marek Szyprowski
2010-08-11 12:40 ` [PATCH/RFC] Samsung device-table approach Ameya Palande
2010-08-11 15:02 ` Marek Szyprowski
2010-08-12 2:48 ` Jassi Brar
2010-08-12 6:31 ` Marek Szyprowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1281528238-7298-5-git-send-email-m.szyprowski@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox