aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 03:12:37 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-22 03:12:37 -0400
commit8725f25acc656c1522d48a6746055099efdaca4c (patch)
treee241424fa58178ed6c2a95a4eb931ea83dbea33c /drivers/video
parentc69cccc95fe4b90dde5fe33e6a3b77880b534fa4 (diff)
parent93ded9b8fd42abe2c3607097963d8de6ad9117eb (diff)
Merge commit 'origin/master'
Manually fixed up: drivers/net/fs_enet/fs_enet-main.c
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/amifb.c3
-rw-r--r--drivers/video/atafb.c5
-rw-r--r--drivers/video/c2p.c3
3 files changed, 10 insertions, 1 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index 05a328c11a8b..45c154ade9ca 100644
--- a/drivers/video/amifb.c
+++ b/drivers/video/amifb.c
@@ -2383,6 +2383,9 @@ default_chipset:
2383 goto amifb_error; 2383 goto amifb_error;
2384 } 2384 }
2385 2385
2386 fb_videomode_to_modelist(ami_modedb, NUM_TOTAL_MODES,
2387 &fb_info.modelist);
2388
2386 round_down_bpp = 0; 2389 round_down_bpp = 0;
2387 chipptr = chipalloc(fb_info.fix.smem_len+ 2390 chipptr = chipalloc(fb_info.fix.smem_len+
2388 SPRITEMEMSIZE+ 2391 SPRITEMEMSIZE+
diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c
index dff35474b854..fa55d356b535 100644
--- a/drivers/video/atafb.c
+++ b/drivers/video/atafb.c
@@ -3110,7 +3110,7 @@ int __init atafb_init(void)
3110 printk("atafb_init: start\n"); 3110 printk("atafb_init: start\n");
3111 3111
3112 if (!MACH_IS_ATARI) 3112 if (!MACH_IS_ATARI)
3113 return -ENXIO; 3113 return -ENODEV;
3114 3114
3115 do { 3115 do {
3116#ifdef ATAFB_EXT 3116#ifdef ATAFB_EXT
@@ -3230,6 +3230,9 @@ int __init atafb_init(void)
3230 return -EINVAL; 3230 return -EINVAL;
3231 } 3231 }
3232 3232
3233 fb_videomode_to_modelist(atafb_modedb, NUM_TOTAL_MODES,
3234 &fb_info.modelist);
3235
3233 atafb_set_disp(&fb_info); 3236 atafb_set_disp(&fb_info);
3234 3237
3235 fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0); 3238 fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0);
diff --git a/drivers/video/c2p.c b/drivers/video/c2p.c
index 5c30bbd33054..376bc07ff952 100644
--- a/drivers/video/c2p.c
+++ b/drivers/video/c2p.c
@@ -12,6 +12,7 @@
12 * for more details. 12 * for more details.
13 */ 13 */
14 14
15#include <linux/module.h>
15#include <linux/string.h> 16#include <linux/string.h>
16#include "c2p.h" 17#include "c2p.h"
17 18
@@ -226,4 +227,6 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height,
226 dst += dst_nextline; 227 dst += dst_nextline;
227 } 228 }
228} 229}
230EXPORT_SYMBOL_GPL(c2p);
229 231
232MODULE_LICENSE("GPL");