Fixes for breakage resulting from syscore_ops patch on s3c24xx
Subsystems (3)
cover Fixes for breakage resulting from syscore_ops patch on s3c24xx
The syscore_ops patch from Rafael J. Wysocki introduced some small glitches for the S3C24XX cpus resulting in compile errors.
Heiko Stuebner (3):
Fix missing struct for s3c2410_dma_chan in s3c2410_dma_suspend_chan Move s3c24xx_irq_syscore_ops to plat-s3c24xx/irq.c remove the now empty mach-s3c2410/irq.c
arch/arm/mach-s3c2410/Makefile | 1 - arch/arm/mach-s3c2410/irq.c | 34 ---------------------------------- arch/arm/plat-s3c24xx/dma.c | 2 +- arch/arm/plat-s3c24xx/irq.c | 6 ++++++ 4 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 arch/arm/mach-s3c2410/irq.c
PATCH 1/3 Fix missing struct for s3c2410_dma_chan in s3c2410_dma_suspend_chan
s3c2410_dma_chan is not a type itself, so struct is required.
--- arch/arm/plat-s3c24xx/dma.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s3c24xx/dma.c +1 -1
@@ -1199,7 +1199,7 @@ EXPORT_SYMBOL(s3c2410_dma_getposition);#ifdef CONFIG_PM -static void s3c2410_dma_suspend_chan (s3c2410_dma_chan *cp) +static void s3c2410_dma_suspend_chan (struct s3c2410_dma_chan *cp) {printk (KERN_DEBUG "suspending dma channel %d\n" , cp->number);
Signature · 1 line
1.7.1
PATCH 1/3 Fix missing struct for s3c2410_dma_chan in s3c2410_dma_suspend_chan
Hello.
Quoted 1 line · Heiko St?bner
s3c2410_dma_chanis not a type itself, so struct is required.
Your signoffs are missing, so your patches can't be applied...
WBR, Sergei
PATCH 1/3 Fix missing struct for s3c2410_dma_chan in s3c2410_dma_suspend_chan
Am Mittwoch 01 Juni 2011, 18:01:34 schrieben Sie:
Quoted 6 lines
Hello.
Quoted 1 line · Heiko St?bner
s3c2410_dma_chanis not a type itself, so struct is required.Your signoffs are missing, so your patches can't be applied...
*grml* ... I seem to have bad luck with my patches these days will resend
Heiko
PATCH 2/3 Move s3c24xx_irq_syscore_ops to plat-s3c24xx/irq.c
In reply to Heiko Stübners3c24xx_irq_syscore_ops was only defined for s3c2410 cpus leading to compile errors on for example 2412 and 2416.
--- arch/arm/mach-s3c2410/irq.c | 5 ----- arch/arm/plat-s3c24xx/irq.c | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-)
arch/arm/mach-s3c2410/irq.c +0 -5
@@ -27,8 +27,3 @@#include <plat/cpu.h> #include <plat/pm.h> - -struct syscore_ops s3c24xx_irq_syscore_ops = { - .suspend = s3c24xx_irq_suspend, - .resume = s3c24xx_irq_resume, -};
arch/arm/plat-s3c24xx/irq.c +6 -0
@@ -23,6 +23,7 @@#include <linux/interrupt.h> #include <linux/ioport.h> #include <linux/sysdev.h> +#include <linux/syscore_ops.h> #include <asm/irq.h> #include <asm/mach/irq.h>
@@ -668,3 +669,8 @@ void __init s3c24xx_init_irq(void)irqdbf ("s3c2410: registered interrupt handlers\n" ); } + +struct syscore_ops s3c24xx_irq_syscore_ops = { + .suspend = s3c24xx_irq_suspend, + .resume = s3c24xx_irq_resume, +};
Signature · 1 line
1.7.1
PATCH 3/3 remove the now empty mach-s3c2410/irq.c
In reply to Heiko Stübner--- arch/arm/mach-s3c2410/Makefile | 1 - arch/arm/mach-s3c2410/irq.c | 29 ----------------------------- 2 files changed, 0 insertions(+), 30 deletions(-) delete mode 100644 arch/arm/mach-s3c2410/irq.c
arch/arm/mach-s3c2410/Makefile +0 -1
@@ -10,7 +10,6 @@ obj-n := obj- := obj-$(CONFIG_CPU_S3C2410) += s3c2410.o -obj-$(CONFIG_CPU_S3C2410) += irq.o obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o obj-$(CONFIG_S3C2410_PM) += pm.o sleep.o
arch/arm/mach-s3c2410/irq.c deleted +0 -29
@@ -1,29 +0,0 @@ -/* linux/arch/arm/mach-s3c2410/irq.c -* -* Copyright (c) 2006 Simtec Electronics -* Ben Dooks <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -* -*/ - -#include <linux/init.h> -#include <linux/module.h> -#include <linux/interrupt.h> -#include <linux/ioport.h> -#include <linux/syscore_ops.h> - -#include <plat/cpu.h> -#include <plat/pm.h>
Signature · 1 line
1.7.1
cover Fixes for breakage resulting from syscore_ops patch on s3c24xx
In reply to Heiko StübnerQuoted 8 lines · Heiko St?bner
The
syscore_opspatch from Rafael J. Wysocki introduced some small glitches for the S3C24XX cpus resulting in compile errors.Heiko Stuebner (3):
Fix missing struct fors3c2410_dma_chanins3c2410_dma_suspend_chanMoves3c24xx_irq_syscore_opstoplat-s3c24xx/irq.cremove the now emptymach-s3c2410/irq.c
Quoted 7 lines
arch/arm/mach-s3c2410/Makefile | 1 - arch/arm/mach-s3c2410/irq.c | 34 ---------------------------------- arch/arm/plat-s3c24xx/dma.c | 2 +- arch/arm/plat-s3c24xx/irq.c | 6 ++++++ 4 files changed, 7 insertions(+), 36 deletions(-)delete mode 100644
arch/arm/mach-s3c2410/irq.c
I submitted same patches days ago [1], but without more explanations than "ARM: s3c24xx: fix build errors introduced by bb072c3cf21d1", so
[1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/117812/focus=117814
cover Fixes for breakage resulting from syscore_ops patch on s3c24xx
Am Mittwoch 01 Juni 2011 schrieb Abdoulaye Walsimou GAYE:
Quoted 7 lines
Quoted 2 lines · Heiko St?bner
The
syscore_opspatch from Rafael J. Wysocki introduced some small glitches for the S3C24XX cpus resulting in compile errors.I submitted same patches days ago [1],
[1]
http://thread.gmane.org/gmane.linux.ports.arm.kernel/117812/focus=117814
irq-pm.c also was my initial target for s3c24xx_irq_syscore_ops, but it's only compiled when CONFIG_PM is set, where s3c24xx_irq_syscore_ops is always needed and its member-functions are set to null in pm.h when CONFIG_PM is not set
Heiko
cover Fixes for breakage resulting from syscore_ops patch on s3c24xx
In reply to Abdoulaye Walsimou GAYEQuoted 5 lines · Abdoulaye Walsimou GAYE
Quoted 3 lines · Heiko St?bner
The
syscore_opspatch from Rafael J. Wysocki introduced some small glitches for the S3C24XX cpus resulting in compile errors.
Quoted 7 lines
Quoted 7 lines
Heiko Stuebner (3):
Fix missing struct fors3c2410_dma_chanins3c2410_dma_suspend_chanMoves3c24xx_irq_syscore_opstoplat-s3c24xx/irq.cremove the now emptymach-s3c2410/irq.carch/arm/mach-s3c2410/Makefile | 1 - arch/arm/mach-s3c2410/irq.c | 34
----------------------------------
Quoted 6 lines
Quoted 5 lines
arch/arm/plat-s3c24xx/dma.c | 2 +- arch/arm/plat-s3c24xx/irq.c | 6 ++++++ 4 files changed, 7 insertions(+), 36 deletions(-)delete mode 100644
arch/arm/mach-s3c2410/irq.c
Quoted 6 lines
I submitted same patches days ago [1], but without more explanations than "ARM: s3c24xx: fix build errors introduced by
bb072c3cf21d1", so[1]
http://thread.gmane.org/gmane.linux.ports.arm.kernel/117812/focus=117814
Hello Abdoulaye Walsimou Gaye,
Oops, sorry that I missed your patch at that time :( I found your patch just now...
As you know, I can't add your ack on this... Anyway thanks for your effort and time.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.