1 diff -Nru a/drivers/video/Kconfig b/drivers/video/Kconfig
2 --- a/drivers/video/Kconfig 2004-10-22 16:37:37 +08:00
3 +++ b/drivers/video/Kconfig 2004-10-26 21:53:01 +08:00
5 will be called savagefb.
8 - bool "Enable DDC2 Support"
9 + tristate "Enable DDC2 Support"
12 This enables I2C support for S3 Savage Chipsets. This is used
16 config FB_SAVAGE_ACCEL
17 - bool "Enable Console Acceleration"
18 + tristate "Enable Console Acceleration"
22 diff -Nru a/drivers/video/savage/savagefb-i2c.c b/drivers/video/savage/savagefb-i2c.c
23 --- a/drivers/video/savage/savagefb-i2c.c 2004-10-22 16:37:37 +08:00
24 +++ b/drivers/video/savage/savagefb-i2c.c 2004-10-26 21:53:01 +08:00
27 savage_setup_i2c_bus(&par->chan, "SAVAGE DDC2");
29 +EXPORT_SYMBOL(savagefb_create_i2c_busses);
31 void savagefb_delete_i2c_busses(struct fb_info *info)
34 i2c_bit_del_bus(&par->chan.adapter);
37 +EXPORT_SYMBOL(savagefb_delete_i2c_busses);
39 static u8 *savage_do_probe_i2c_edid(struct savagefb_i2c_chan *chan)
45 +EXPORT_SYMBOL(savagefb_probe_i2c_connector);
47 +MODULE_LICENSE("GPL");
48 diff -Nru a/drivers/video/savage/savagefb_accel.c b/drivers/video/savage/savagefb_accel.c
49 --- a/drivers/video/savage/savagefb_accel.c 2004-10-22 16:37:38 +08:00
50 +++ b/drivers/video/savage/savagefb_accel.c 2004-10-26 21:53:01 +08:00
52 par->SavageWaitIdle(par);
55 +EXPORT_SYMBOL(savagefb_sync);
57 void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region)
60 BCI_SEND(BCI_X_Y(dx, dy));
61 BCI_SEND(BCI_W_H(region->width, region->height));
63 +EXPORT_SYMBOL(savagefb_copyarea);
65 void savagefb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
68 BCI_SEND( BCI_X_Y(rect->dx, rect->dy) );
69 BCI_SEND( BCI_W_H(rect->width, rect->height) );
71 +EXPORT_SYMBOL(savagefb_fillrect);
73 void savagefb_imageblit(struct fb_info *info, const struct fb_image *image)
76 for (i = 0; i < size; i++)
79 +EXPORT_SYMBOL(savagefb_imageblit);
81 +MODULE_LICENSE("GPL");
82 diff -Nru a/drivers/video/savage/savagefb.c b/drivers/video/savage/savagefb.c
83 --- a/drivers/video/savage/savagefb.c 2004-10-23 22:48:12 +08:00
84 +++ b/drivers/video/savage/savagefb.c 2004-10-25 17:01:45 +08:00
87 /* ************************* init in-kernel code ************************** */
90 int __init savagefb_setup(char *options)
95 if (!options || !*options)
96 @@ -2483,10 +2483,9 @@
97 mode_option = this_opt;
101 +#endif /* !MODULE */
104 -#endif /* !MODULE */
106 int __init savagefb_init(void)
108 diff -Nru a/drivers/video/savage/savagefb.h b/drivers/video/savage/savagefb.h
109 --- a/drivers/video/savage/savagefb.h 2004-10-23 22:48:13 +08:00
110 +++ b/drivers/video/savage/savagefb.h 2004-10-25 16:59:51 +08:00
112 # define DBG(x) printk (KERN_DEBUG "savagefb: %s\n", (x));
115 -# define SavagePrintRegs(x)
116 +# define SavagePrintRegs(...)