[PATCH] drivers/video/: possible cleanups
This patch contains the possible cleanups including the following: - every file should #include the headers containing the prototypes for it's global functions - make needlessly global functions static - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h instead of a manual "struct pci_dev" - i810_main.{c,h}: prototypes for static functions belong to the C file Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: "Antonino A. Daplas" <adaplas@hotpop.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

vanhempi
1d64ec153e
commit
a0aa7d0639
@@ -366,7 +366,8 @@ static void arcfb_lcd_update(struct arcfb_par *par, unsigned int dx,
|
||||
}
|
||||
}
|
||||
|
||||
void arcfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
|
||||
static void arcfb_fillrect(struct fb_info *info,
|
||||
const struct fb_fillrect *rect)
|
||||
{
|
||||
struct arcfb_par *par = info->par;
|
||||
|
||||
@@ -376,7 +377,8 @@ void arcfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
|
||||
arcfb_lcd_update(par, rect->dx, rect->dy, rect->width, rect->height);
|
||||
}
|
||||
|
||||
void arcfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
|
||||
static void arcfb_copyarea(struct fb_info *info,
|
||||
const struct fb_copyarea *area)
|
||||
{
|
||||
struct arcfb_par *par = info->par;
|
||||
|
||||
@@ -386,7 +388,7 @@ void arcfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
|
||||
arcfb_lcd_update(par, area->dx, area->dy, area->width, area->height);
|
||||
}
|
||||
|
||||
void arcfb_imageblit(struct fb_info *info, const struct fb_image *image)
|
||||
static void arcfb_imageblit(struct fb_info *info, const struct fb_image *image)
|
||||
{
|
||||
struct arcfb_par *par = info->par;
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user