summaryrefslogtreecommitdiff
path: root/drivers/staging/udlfb/udlfb.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-06-03 14:47:21 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:57 -0700
commit4b6a4856c6b6e3bb7839b15296712627b7a37208 (patch)
treeb4d16d7febff9ab770f6313f0a2852957c21518d /drivers/staging/udlfb/udlfb.c
parentf05e0575ed334a23dad91b8f6ed0ac42a3996b8d (diff)
Staging: udlfb: fix some sparse warnings.
There are others remaining due to the __iomem namespace of the framebuffer data pointer. Cc: Roberto De Ioris <roberto@unbit.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/udlfb/udlfb.c')
-rw-r--r--drivers/staging/udlfb/udlfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c
index 45b8ae7882d..08165997f80 100644
--- a/drivers/staging/udlfb/udlfb.c
+++ b/drivers/staging/udlfb/udlfb.c
@@ -422,7 +422,7 @@ copyarea(struct dlfb_data *dev_info, int dx, int dy, int sx, int sy,
return 1;
}
-void dlfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
+static void dlfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
{
struct dlfb_data *dev = info->par;
@@ -434,7 +434,7 @@ void dlfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
}
-void dlfb_imageblit(struct fb_info *info, const struct fb_image *image)
+static void dlfb_imageblit(struct fb_info *info, const struct fb_image *image)
{
int ret;
@@ -447,7 +447,7 @@ void dlfb_imageblit(struct fb_info *info, const struct fb_image *image)
/* printk("IMAGE BLIT (2) %d %d %d %d DEPTH %d {%p} %d!!!\n", image->dx, image->dy, image->width, image->height, image->depth, dev->udev, ret); */
}
-void dlfb_fillrect(struct fb_info *info, const struct fb_fillrect *region)
+static void dlfb_fillrect(struct fb_info *info, const struct fb_fillrect *region)
{
unsigned char red, green, blue;