* [PATCH] ARM: SAMSUNG: Remove static of S5P SoCs sysclass
@ 2010-05-11 0:56 Kukjin Kim
2010-05-11 1:02 ` Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: Kukjin Kim @ 2010-05-11 0:56 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: ben-linux, Kukjin Kim
This patch removes static of s5p6440_sysclass, s5p6442_sysclass,
and s5pv210_sysclass for defintion as extern.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
arch/arm/mach-s5p6440/cpu.c | 2 +-
arch/arm/mach-s5p6442/cpu.c | 2 +-
arch/arm/mach-s5pv210/cpu.c | 2 +-
arch/arm/plat-samsung/include/plat/cpu.h | 3 +++
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-s5p6440/cpu.c b/arch/arm/mach-s5p6440/cpu.c
index 1794131..ca3b320 100644
--- a/arch/arm/mach-s5p6440/cpu.c
+++ b/arch/arm/mach-s5p6440/cpu.c
@@ -88,7 +88,7 @@ void __init s5p6440_init_irq(void)
s5p_init_irq(vic, ARRAY_SIZE(vic));
}
-static struct sysdev_class s5p6440_sysclass = {
+struct sysdev_class s5p6440_sysclass = {
.name = "s5p6440-core",
};
diff --git a/arch/arm/mach-s5p6442/cpu.c b/arch/arm/mach-s5p6442/cpu.c
index bc2524d..a48fb55 100644
--- a/arch/arm/mach-s5p6442/cpu.c
+++ b/arch/arm/mach-s5p6442/cpu.c
@@ -95,7 +95,7 @@ void __init s5p6442_init_irq(void)
s5p_init_irq(vic, ARRAY_SIZE(vic));
}
-static struct sysdev_class s5p6442_sysclass = {
+struct sysdev_class s5p6442_sysclass = {
.name = "s5p6442-core",
};
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
index 0e0f8fd..2b776eb 100644
--- a/arch/arm/mach-s5pv210/cpu.c
+++ b/arch/arm/mach-s5pv210/cpu.c
@@ -100,7 +100,7 @@ void __init s5pv210_init_irq(void)
s5p_init_irq(vic, ARRAY_SIZE(vic));
}
-static struct sysdev_class s5pv210_sysclass = {
+struct sysdev_class s5pv210_sysclass = {
.name = "s5pv210-core",
};
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h
index d316b4a..c54f318 100644
--- a/arch/arm/plat-samsung/include/plat/cpu.h
+++ b/arch/arm/plat-samsung/include/plat/cpu.h
@@ -78,6 +78,9 @@ extern struct sysdev_class s3c2442_sysclass;
extern struct sysdev_class s3c2443_sysclass;
extern struct sysdev_class s3c6410_sysclass;
extern struct sysdev_class s3c64xx_sysclass;
+extern struct sysdev_class s5p6440_sysclass;
+extern struct sysdev_class s5p6442_sysclass;
+extern struct sysdev_class s5pv210_sysclass;
extern void (*s5pc1xx_idle)(void);
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: SAMSUNG: Remove static of S5P SoCs sysclass
2010-05-11 0:56 [PATCH] ARM: SAMSUNG: Remove static of S5P SoCs sysclass Kukjin Kim
@ 2010-05-11 1:02 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2010-05-11 1:02 UTC (permalink / raw)
To: Kukjin Kim; +Cc: linux-samsung-soc, ben-linux
On Tue, May 11, 2010 at 09:56:37AM +0900, Kukjin Kim wrote:
> This patch removes static of s5p6440_sysclass, s5p6442_sysclass,
> and s5pv210_sysclass for defintion as extern.
I assume that this is for some driver comming soon?
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
> arch/arm/mach-s5p6440/cpu.c | 2 +-
> arch/arm/mach-s5p6442/cpu.c | 2 +-
> arch/arm/mach-s5pv210/cpu.c | 2 +-
> arch/arm/plat-samsung/include/plat/cpu.h | 3 +++
> 4 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-s5p6440/cpu.c b/arch/arm/mach-s5p6440/cpu.c
> index 1794131..ca3b320 100644
> --- a/arch/arm/mach-s5p6440/cpu.c
> +++ b/arch/arm/mach-s5p6440/cpu.c
> @@ -88,7 +88,7 @@ void __init s5p6440_init_irq(void)
> s5p_init_irq(vic, ARRAY_SIZE(vic));
> }
>
> -static struct sysdev_class s5p6440_sysclass = {
> +struct sysdev_class s5p6440_sysclass = {
> .name = "s5p6440-core",
> };
>
> diff --git a/arch/arm/mach-s5p6442/cpu.c b/arch/arm/mach-s5p6442/cpu.c
> index bc2524d..a48fb55 100644
> --- a/arch/arm/mach-s5p6442/cpu.c
> +++ b/arch/arm/mach-s5p6442/cpu.c
> @@ -95,7 +95,7 @@ void __init s5p6442_init_irq(void)
> s5p_init_irq(vic, ARRAY_SIZE(vic));
> }
>
> -static struct sysdev_class s5p6442_sysclass = {
> +struct sysdev_class s5p6442_sysclass = {
> .name = "s5p6442-core",
> };
>
> diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
> index 0e0f8fd..2b776eb 100644
> --- a/arch/arm/mach-s5pv210/cpu.c
> +++ b/arch/arm/mach-s5pv210/cpu.c
> @@ -100,7 +100,7 @@ void __init s5pv210_init_irq(void)
> s5p_init_irq(vic, ARRAY_SIZE(vic));
> }
>
> -static struct sysdev_class s5pv210_sysclass = {
> +struct sysdev_class s5pv210_sysclass = {
> .name = "s5pv210-core",
> };
>
> diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h
> index d316b4a..c54f318 100644
> --- a/arch/arm/plat-samsung/include/plat/cpu.h
> +++ b/arch/arm/plat-samsung/include/plat/cpu.h
> @@ -78,6 +78,9 @@ extern struct sysdev_class s3c2442_sysclass;
> extern struct sysdev_class s3c2443_sysclass;
> extern struct sysdev_class s3c6410_sysclass;
> extern struct sysdev_class s3c64xx_sysclass;
> +extern struct sysdev_class s5p6440_sysclass;
> +extern struct sysdev_class s5p6442_sysclass;
> +extern struct sysdev_class s5pv210_sysclass;
>
> extern void (*s5pc1xx_idle)(void);
>
> --
> 1.6.2.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-11 1:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 0:56 [PATCH] ARM: SAMSUNG: Remove static of S5P SoCs sysclass Kukjin Kim
2010-05-11 1:02 ` Ben Dooks
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.