diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-03 21:47:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 18:00:57 (GMT) |
commit | 4b6a4856c6b6e3bb7839b15296712627b7a37208 (patch) | |
tree | b4d16d7febff9ab770f6313f0a2852957c21518d /drivers/staging/udlfb/udlfb.c | |
parent | f05e0575ed334a23dad91b8f6ed0ac42a3996b8d (diff) | |
download | linux-4b6a4856c6b6e3bb7839b15296712627b7a37208.tar.xz |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c index 45b8ae7..0816599 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; |