Message ID | 20100313.111942.115594162.davem@davemloft.net |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/video/sunxvr1000.c b/drivers/video/sunxvr1000.c index 8066e88..a8248c0 100644 --- a/drivers/video/sunxvr1000.c +++ b/drivers/video/sunxvr1000.c @@ -52,7 +52,7 @@ static int gfb_setcolreg(unsigned regno, green >>= 8; blue >>= 8; - value = (blue << 24) | (green << 16) | (red << 8); + value = (blue << 16) | (green << 8) | red; ((u32 *)info->pseudo_palette)[regno] = value; }