changed Makefile and profiles, added patches for kernel 2.6.24
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / patches-2.6.24 / 1157-clean-remove-build-noise.patch.patch
1 From e9beab2f041679bac20ac3d66ae7e8efe03fcf66 Mon Sep 17 00:00:00 2001
2 From: Andy Green <andy@openmoko.com>
3 Date: Tue, 13 May 2008 18:54:28 +0100
4 Subject: [PATCH] clean-remove-build-noise.patch
5
6 Signed-off-by: Andy Green <andy@openmoko.com>
7 ---
8 drivers/mfd/glamo/glamo-fb.c | 4 +++-
9 drivers/mfd/glamo/glamo-lcm-spi.c | 1 -
10 2 files changed, 3 insertions(+), 2 deletions(-)
11
12 diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c
13 index e5410f9..44b1947 100644
14 --- a/drivers/mfd/glamo/glamo-fb.c
15 +++ b/drivers/mfd/glamo/glamo-fb.c
16 @@ -239,7 +239,7 @@ static void rotate_lcd(struct glamofb_handle *glamo,
17 __u32 rotation)
18 {
19 int glamo_rot;
20 - unsigned long flags;
21 +/* unsigned long flags; */
22
23 switch (rotation) {
24 case FB_ROTATE_UR:
25 @@ -495,6 +495,7 @@ static int glamofb_setcolreg(unsigned regno,
26 return 0;
27 }
28
29 +#ifdef NOT_CURRENTLY_USED
30 static int glamofb_cursor(struct fb_info *info, struct fb_cursor *cursor)
31 {
32 struct glamofb_handle *glamo = info->par;
33 @@ -566,6 +567,7 @@ static int glamofb_cursor(struct fb_info *info, struct fb_cursor *cursor)
34 }
35 }
36 }
37 +#endif
38
39 static inline int glamofb_cmdq_empty(struct glamofb_handle *gfb)
40 {
41 diff --git a/drivers/mfd/glamo/glamo-lcm-spi.c b/drivers/mfd/glamo/glamo-lcm-spi.c
42 index 874fb0e..4b17c11 100644
43 --- a/drivers/mfd/glamo/glamo-lcm-spi.c
44 +++ b/drivers/mfd/glamo/glamo-lcm-spi.c
45 @@ -49,7 +49,6 @@ static inline struct glamo_spi *to_gs(struct spi_device *spi)
46
47 static int glamo_spi_setupxfer(struct spi_device *spi, struct spi_transfer *t)
48 {
49 - struct glamo_spi *gs = to_gs(spi);
50 unsigned int bpw;
51
52 bpw = t ? t->bits_per_word : spi->bits_per_word;
53 --
54 1.5.6.5
55