Commit b0ad358b authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] savagefb export fixes

Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dc05d09d
......@@ -811,7 +811,7 @@ config FB_SAVAGE
will be called savagefb.
config FB_SAVAGE_I2C
bool "Enable DDC2 Support"
tristate "Enable DDC2 Support"
depends on FB_SAVAGE
help
This enables I2C support for S3 Savage Chipsets. This is used
......@@ -823,7 +823,7 @@ config FB_SAVAGE_I2C
here.
config FB_SAVAGE_ACCEL
bool "Enable Console Acceleration"
tristate "Enable Console Acceleration"
depends on FB_SAVAGE
default n
help
......
......@@ -197,6 +197,7 @@ void savagefb_create_i2c_busses(struct fb_info *info)
savage_setup_i2c_bus(&par->chan, "SAVAGE DDC2");
}
EXPORT_SYMBOL(savagefb_create_i2c_busses);
void savagefb_delete_i2c_busses(struct fb_info *info)
{
......@@ -206,6 +207,7 @@ void savagefb_delete_i2c_busses(struct fb_info *info)
i2c_bit_del_bus(&par->chan.adapter);
par->chan.par = NULL;
}
EXPORT_SYMBOL(savagefb_delete_i2c_busses);
static u8 *savage_do_probe_i2c_edid(struct savagefb_i2c_chan *chan)
{
......@@ -255,3 +257,6 @@ int savagefb_probe_i2c_connector(struct savagefb_par *par, u8 **out_edid)
return 0;
}
EXPORT_SYMBOL(savagefb_probe_i2c_connector);
MODULE_LICENSE("GPL");
......@@ -26,6 +26,7 @@ int savagefb_sync(struct fb_info *info)
par->SavageWaitIdle(par);
return 0;
}
EXPORT_SYMBOL(savagefb_sync);
void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region)
{
......@@ -60,6 +61,7 @@ void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region)
BCI_SEND(BCI_X_Y(dx, dy));
BCI_SEND(BCI_W_H(region->width, region->height));
}
EXPORT_SYMBOL(savagefb_copyarea);
void savagefb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
{
......@@ -87,6 +89,7 @@ void savagefb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
BCI_SEND( BCI_X_Y(rect->dx, rect->dy) );
BCI_SEND( BCI_W_H(rect->width, rect->height) );
}
EXPORT_SYMBOL(savagefb_fillrect);
void savagefb_imageblit(struct fb_info *info, const struct fb_image *image)
{
......@@ -132,4 +135,6 @@ void savagefb_imageblit(struct fb_info *info, const struct fb_image *image)
for (i = 0; i < size; i++)
BCI_SEND(src[i]);
}
EXPORT_SYMBOL(savagefb_imageblit);
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment