8238275d0c2d3aee93a7c46b837b6e40561a1ef1
[openwrt.git] / target / linux / s3c24xx / patches-2.6.31 / 010-neo1973_mach.patch
1 From 06344e2a663fa052c9ff0c508e8c978ce51d933b Mon Sep 17 00:00:00 2001
2 From: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Tue, 21 Jul 2009 12:42:17 +0200
4 Subject: [PATCH] 014-neo1973_mach.patch
5
6 ---
7  arch/arm/mach-s3c2442/Makefile |    6 ++++++
8  arch/arm/plat-s3c24xx/Kconfig  |   16 ++++++++++++++++
9  drivers/misc/Makefile          |    3 +++
10  3 files changed, 25 insertions(+), 0 deletions(-)
11
12 diff --git a/arch/arm/mach-s3c2442/Makefile b/arch/arm/mach-s3c2442/Makefile
13 index 2a19113..1350103 100644
14 --- a/arch/arm/mach-s3c2442/Makefile
15 +++ b/arch/arm/mach-s3c2442/Makefile
16 @@ -16,3 +16,8 @@ obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o
17  
18  # Machine support
19  
20 +obj-$(CONFIG_MACH_NEO1973)     += \
21 +                                   gta02-pm-gsm.o \
22 +                                   gta02-pm-gps.o \
23 +                                   gta02-pm-bt.o \
24 +                                   gta02-pm-wlan.o
25 diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig
26 index 5b0bc91..ee2d47e 100644
27 --- a/arch/arm/plat-s3c24xx/Kconfig
28 +++ b/arch/arm/plat-s3c24xx/Kconfig
29 @@ -112,4 +112,20 @@ config MACH_SMDK
30         help
31           Common machine code for SMDK2410 and SMDK2440
32  
33 +config MACH_NEO1973
34 +       bool
35 +       select RFKILL
36 +       select SERIAL_SAMSUNG
37 +       select SERIAL_SAMSUNG_CONSOLE
38 +       help
39 +         Common machine code for Neo1973 hardware
40 +
41 +config MACH_NEO1973
42 +       bool
43 +       select RFKILL
44 +       select SERIAL_SAMSUNG
45 +       select SERIAL_SAMSUNG_CONSOLE
46 +       help
47 +         Common machine code for Neo1973 hardware
48 +
49  endif
50 diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
51 index 36f733c..61888c7 100644
52 --- a/drivers/misc/Makefile
53 +++ b/drivers/misc/Makefile
54 @@ -22,3 +22,6 @@ obj-$(CONFIG_ISL29003)                += isl29003.o
55  obj-$(CONFIG_C2PORT)           += c2port/
56  obj-y                          += eeprom/
57  obj-y                          += cb710/
58 +obj-$(CONFIG_MACH_NEO1973)      += gta02_pm_host.o \
59 +                                   gta02_pm_resume_reason.o
60 +
61 -- 
62 1.5.6.5
63