From e48055999575750158108b4cfc7fc22e4c972efc Mon Sep 17 00:00:00 2001 From: Thomas Abraham Date: Wed, 15 Jun 2011 13:28:14 +0900 Subject: ARM: SAMSUNG: Added mach/clkdev.h This is temporary patch for building with clkdev. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/include/mach/clkdev.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 arch/arm/mach-s5pv210/include/mach/clkdev.h (limited to 'arch/arm/mach-s5pv210/include/mach') diff --git a/arch/arm/mach-s5pv210/include/mach/clkdev.h b/arch/arm/mach-s5pv210/include/mach/clkdev.h new file mode 100644 index 000000000000..7dffa83d23ff --- /dev/null +++ b/arch/arm/mach-s5pv210/include/mach/clkdev.h @@ -0,0 +1,7 @@ +#ifndef __MACH_CLKDEV_H__ +#define __MACH_CLKDEV_H__ + +#define __clk_get(clk) ({ 1; }) +#define __clk_put(clk) do {} while (0) + +#endif -- cgit v1.2.3 From 7bf3ba6b33c47c4171272253a0e4dd720a5b73a8 Mon Sep 17 00:00:00 2001 From: Ajay Kumar Date: Thu, 21 Jul 2011 01:14:58 +0900 Subject: ARM: S5PV210: Cleanup mach/regs-fb.h from mach-s5pv210 Use plat/regs-fb-v4.h in machine files instead of mach/regs-fb.h. Signed-off-by: Ajay Kumar Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/include/mach/regs-fb.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 arch/arm/mach-s5pv210/include/mach/regs-fb.h (limited to 'arch/arm/mach-s5pv210/include/mach') diff --git a/arch/arm/mach-s5pv210/include/mach/regs-fb.h b/arch/arm/mach-s5pv210/include/mach/regs-fb.h deleted file mode 100644 index 60d992989bdc..000000000000 --- a/arch/arm/mach-s5pv210/include/mach/regs-fb.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2010 Ben Dooks - * - * Dummy framebuffer to allow build for the moment. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -#ifndef __ASM_ARCH_MACH_REGS_FB_H -#define __ASM_ARCH_MACH_REGS_FB_H __FILE__ - -#include - -static inline unsigned int s3c_fb_pal_reg(unsigned int window, int reg) -{ - return 0x2400 + (window * 256 *4 ) + reg; -} - -#endif /* __ASM_ARCH_MACH_REGS_FB_H */ -- cgit v1.2.3