]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
VIDEO: cyberpro: remove unused cyber2000fb_get_fb_var()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Aug 2010 10:06:59 +0000 (11:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 11 Feb 2011 10:16:07 +0000 (10:16 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/cyber2000fb.c
drivers/video/cyber2000fb.h

index 29f78fc2d50838751c4c12542eb07f7afdd2b6f5..850380795b0555b02c4ef963206a9b6a4d726409 100644 (file)
@@ -1122,12 +1122,6 @@ void cyber2000fb_disable_extregs(struct cfb_info *cfb)
 }
 EXPORT_SYMBOL(cyber2000fb_disable_extregs);
 
-void cyber2000fb_get_fb_var(struct cfb_info *cfb, struct fb_var_screeninfo *var)
-{
-       memcpy(var, &cfb->fb.var, sizeof(struct fb_var_screeninfo));
-}
-EXPORT_SYMBOL(cyber2000fb_get_fb_var);
-
 /*
  * Attach a capture/tv driver to the core CyberX0X0 driver.
  */
index 23b15e4f63fee1e5989211e856e279cd399a2bb1..bad69102e77439dd140be86170e7f1e83c60104f 100644 (file)
@@ -487,8 +487,6 @@ struct cyberpro_info {
 #define ID_CYBERPRO_2010       2
 #define ID_CYBERPRO_5000       3
 
-struct fb_var_screeninfo;
-
 /*
  * Note! Writing to the Cyber20x0 registers from an interrupt
  * routine is definitely a bad idea atm.
@@ -497,4 +495,3 @@ int cyber2000fb_attach(struct cyberpro_info *info, int idx);
 void cyber2000fb_detach(int idx);
 void cyber2000fb_enable_extregs(struct cfb_info *cfb);
 void cyber2000fb_disable_extregs(struct cfb_info *cfb);
-void cyber2000fb_get_fb_var(struct cfb_info *cfb, struct fb_var_screeninfo *var);