From fc54b9bf158eea9cae647ce2c58f7d9989af173a Mon Sep 17 00:00:00 2001 From: mirko Date: Fri, 12 Dec 2008 11:58:53 +0000 Subject: changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../1157-clean-remove-build-noise.patch.patch | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch (limited to 'target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch') diff --git a/target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch new file mode 100644 index 000000000..8bc734355 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch @@ -0,0 +1,55 @@ +From e9beab2f041679bac20ac3d66ae7e8efe03fcf66 Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Tue, 13 May 2008 18:54:28 +0100 +Subject: [PATCH] clean-remove-build-noise.patch + +Signed-off-by: Andy Green +--- + drivers/mfd/glamo/glamo-fb.c | 4 +++- + drivers/mfd/glamo/glamo-lcm-spi.c | 1 - + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c +index e5410f9..44b1947 100644 +--- a/drivers/mfd/glamo/glamo-fb.c ++++ b/drivers/mfd/glamo/glamo-fb.c +@@ -239,7 +239,7 @@ static void rotate_lcd(struct glamofb_handle *glamo, + __u32 rotation) + { + int glamo_rot; +- unsigned long flags; ++/* unsigned long flags; */ + + switch (rotation) { + case FB_ROTATE_UR: +@@ -495,6 +495,7 @@ static int glamofb_setcolreg(unsigned regno, + return 0; + } + ++#ifdef NOT_CURRENTLY_USED + static int glamofb_cursor(struct fb_info *info, struct fb_cursor *cursor) + { + struct glamofb_handle *glamo = info->par; +@@ -566,6 +567,7 @@ static int glamofb_cursor(struct fb_info *info, struct fb_cursor *cursor) + } + } + } ++#endif + + static inline int glamofb_cmdq_empty(struct glamofb_handle *gfb) + { +diff --git a/drivers/mfd/glamo/glamo-lcm-spi.c b/drivers/mfd/glamo/glamo-lcm-spi.c +index 874fb0e..4b17c11 100644 +--- a/drivers/mfd/glamo/glamo-lcm-spi.c ++++ b/drivers/mfd/glamo/glamo-lcm-spi.c +@@ -49,7 +49,6 @@ static inline struct glamo_spi *to_gs(struct spi_device *spi) + + static int glamo_spi_setupxfer(struct spi_device *spi, struct spi_transfer *t) + { +- struct glamo_spi *gs = to_gs(spi); + unsigned int bpw; + + bpw = t ? t->bits_per_word : spi->bits_per_word; +-- +1.5.6.5 + -- cgit v1.2.3