intelfb: Remove intelfbdrv.h
PATCH 4/6 intelfb: Remove intelfbdrv.h
Ingo Oeser noticed that all that intelfbdrv.h contains are prototypes for static functions - and such prototypes don't belong into header files.
This patch therefore removes drivers/video/intelfb/intelfbdrv.h and moves the prototypes to intelfbdrv.c .
From: Adrian Bunk <[email protected]>
Signed-off-by Adrian Bunk <[email protected]>
Signed-off-by Antonino Daplas <[email protected]>
---
b/drivers/video/intelfb/intelfbdrv.c | 38 +++++++++++++++++++ drivers/video/intelfb/intelfbdrv.h | 68 ----------------------------------- 2 files changed, 37 insertions(+), 69 deletions(-)
drivers/video/intelfb/intelfbdrv.c +37 -1
@@ -135,8 +135,44 @@#endif #include "intelfb.h" -#include "intelfbdrv.h" #include "intelfbhw.h" + +static void __devinit get_initial_mode (struct intelfb_info *dinfo); +static void update_dinfo (struct intelfb_info *dinfo, +struct fb_var_screeninfo *var); +static int intelfb_get_fix (struct fb_fix_screeninfo *fix, +struct fb_info *info); + +static int intelfb_check_var (struct fb_var_screeninfo *var, +struct fb_info *info); +static int intelfb_set_par (struct fb_info *info); +static int intelfb_setcolreg (unsigned regno,unsigned red,unsigned green, +unsigned blue,unsigned transp, +struct fb_info *info); + +static int intelfb_blank (int blank,struct fb_info *info); +static int intelfb_pan_display (struct fb_var_screeninfo *var, +struct fb_info *info); + +static void intelfb_fillrect (struct fb_info *info, +const struct fb_fillrect *rect); +static void intelfb_copyarea (struct fb_info *info, +const struct fb_copyarea *region); +static void intelfb_imageblit (struct fb_info *info, +const struct fb_image *image); +static int intelfb_cursor (struct fb_info *info, +struct fb_cursor *cursor); + +static int intelfb_sync (struct fb_info *info); + +static int intelfb_ioctl (struct inode *inode,struct file *file, +unsigned int cmd,unsigned long arg, +struct fb_info *info); + +static int __devinit intelfb_pci_register (struct pci_dev *pdev, +const struct pci_device_id *ent); +static void __devexit intelfb_pci_unregister(struct pci_dev *pdev); +static int __devinit intelfb_set_fbinfo (struct intelfb_info *dinfo);/* * Limiting the class to PCI_CLASS_DISPLAY_VGA prevents function 1 of the
drivers/video/intelfb/intelfbdrv.h deleted +0 -68
68 lines not on this page · raw message
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click