ARM: s3c24xx: fix build errors introduced by bb072c3cf21d1
Subsystems (2)
PATCH 1/1 ARM: s3c24xx: fix build errors introduced by bb072c3cf21d1
Signed-off-by Abdoulaye Walsimou Gaye <[email protected]>
--- 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-pm.c | 6 ++++++ 4 files changed, 7 insertions(+), 36 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 -34
@@ -1,34 +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> - -struct syscore_ops s3c24xx_irq_syscore_ops = { - .suspend = s3c24xx_irq_suspend, - .resume = s3c24xx_irq_resume, -};
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);
arch/arm/plat-s3c24xx/irq-pm.c +6 -0
@@ -15,6 +15,7 @@#include <linux/module.h> #include <linux/interrupt.h> #include <linux/irq.h> +#include <linux/syscore_ops.h> #include <plat/cpu.h> #include <plat/pm.h>
@@ -24,6 +25,11 @@/* state for IRQs over sleep */ +struct syscore_ops s3c24xx_irq_syscore_ops = { + .suspend = s3c24xx_irq_suspend, + .resume = s3c24xx_irq_resume, +}; +/* default is to allow for EINT0..EINT15, and IRQ_RTC as wakeup sources * * set bit to 1 in allow bitfield to enable the wakeup settings on it
Signature · 1 line
1.7.4.1
PATCH 1/1 ARM: s3c24xx: fix build errors introduced by bb072c3cf21d1
a better could explain why you drop one file
Best Regards,
J.
Quoted 106 lines · Abdoulaye Walsimou Gaye
Signed-off-by Abdoulaye Walsimou Gaye <[email protected]>--- 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-pm.c | 6 ++++++ 4 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 arch/arm/mach-s3c2410/irq.carch/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.oarch/arm/mach-s3c2410/irq.c deleted +0
-34@@ -1,34 +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> - -struct syscore_ops s3c24xx_irq_syscore_ops = { - .suspend = s3c24xx_irq_suspend, - .resume = s3c24xx_irq_resume, -};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);arch/arm/plat-s3c24xx/irq-pm.c +6
-0@@ -15,6 +15,7 @@#include <linux/module.h> #include <linux/interrupt.h> #include <linux/irq.h> +#include <linux/syscore_ops.h> #include <plat/cpu.h> #include <plat/pm.h> @@ -24,6 +25,11 @@/* state for IRQs over sleep */ +struct syscore_ops s3c24xx_irq_syscore_ops = { + .suspend = s3c24xx_irq_suspend, + .resume = s3c24xx_irq_resume, +}; +/* default is to allow for EINT0..EINT15, and IRQ_RTC as wakeup sources * * set bit to 1 in allow bitfield to enable the wakeup settings on it Signature · 7 lines
1.7.4.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel