From 37162ccfcde5eadef9635a14219df25aae5456e7 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 12 Aug 2007 08:29:28 +0000 Subject: linux-2.6.18: add avr32 patches, courtes Stelios Koroneos --- .../linux-2.6.18/fix-alpha-color-bitfield.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/linux/linux-2.6.18/fix-alpha-color-bitfield.patch (limited to 'packages/linux/linux-2.6.18/fix-alpha-color-bitfield.patch') diff --git a/packages/linux/linux-2.6.18/fix-alpha-color-bitfield.patch b/packages/linux/linux-2.6.18/fix-alpha-color-bitfield.patch new file mode 100644 index 0000000000..f563a501a1 --- /dev/null +++ b/packages/linux/linux-2.6.18/fix-alpha-color-bitfield.patch @@ -0,0 +1,21 @@ +--- + drivers/video/sidsafb.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: linux-2.6.18-avr32/drivers/video/sidsafb.c +=================================================================== +--- linux-2.6.18-avr32.orig/drivers/video/sidsafb.c 2006-10-11 15:14:06.000000000 +0200 ++++ linux-2.6.18-avr32/drivers/video/sidsafb.c 2006-10-18 14:51:31.000000000 +0200 +@@ -300,8 +300,11 @@ static int sidsafb_check_var(struct fb_v + var->green.length = 5; + var->blue.length = 5; + break; +- case 24: + case 32: ++ var->transp.offset = 24; ++ var->transp.length = 8; ++ /* fall through */ ++ case 24: + var->red.offset = 16; + var->green.offset = 8; + var->blue.offset = 0; -- cgit v1.2.3