diff options
Diffstat (limited to 'drivers/video/atafb.c')
-rw-r--r-- | drivers/video/atafb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c index f3aada20fa02..5b2b5ef4edba 100644 --- a/drivers/video/atafb.c +++ b/drivers/video/atafb.c | |||
@@ -1718,11 +1718,9 @@ static int falcon_setcolreg(unsigned int regno, unsigned int red, | |||
1718 | (((red & 0xe000) >> 13) | ((red & 0x1000) >> 12) << 8) | | 1718 | (((red & 0xe000) >> 13) | ((red & 0x1000) >> 12) << 8) | |
1719 | (((green & 0xe000) >> 13) | ((green & 0x1000) >> 12) << 4) | | 1719 | (((green & 0xe000) >> 13) | ((green & 0x1000) >> 12) << 4) | |
1720 | ((blue & 0xe000) >> 13) | ((blue & 0x1000) >> 12); | 1720 | ((blue & 0xe000) >> 13) | ((blue & 0x1000) >> 12); |
1721 | #ifdef ATAFB_FALCON | ||
1722 | ((u32 *)info->pseudo_palette)[regno] = ((red & 0xf800) | | 1721 | ((u32 *)info->pseudo_palette)[regno] = ((red & 0xf800) | |
1723 | ((green & 0xfc00) >> 5) | | 1722 | ((green & 0xfc00) >> 5) | |
1724 | ((blue & 0xf800) >> 11)); | 1723 | ((blue & 0xf800) >> 11)); |
1725 | #endif | ||
1726 | } | 1724 | } |
1727 | return 0; | 1725 | return 0; |
1728 | } | 1726 | } |