Skip to contentSkip to conversation

drivers/video/: remove unused exports

RFC PATCH In review Adrian Bunk 2 participants 2 messages May 1, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 drivers/video/: remove unused exports

This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode
- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist

---

This patch was already sent on:
- 11 Apr 2006

 drivers/video/fbcvt.c    |    1 -
 drivers/video/fbmem.c    |    2 --
 drivers/video/macmodes.c |    1 -
 drivers/video/modedb.c   |    2 --
 4 files changed, 6 deletions(-)
drivers/video/fbcvt.c renamed from drivers/video/fbcvt.c.old +0 -1
@@ -376,4 +376,3 @@
 
 	return 0;
 }
-EXPORT_SYMBOL(fb_find_mode_cvt);
drivers/video/fbmem.c renamed from drivers/video/fbmem.c.old +0 -2
@@ -1500,7 +1500,6 @@
 
 	return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt);
 }
-EXPORT_SYMBOL(fb_con_duit);
 
 static char *video_options[FB_MAX];
 static int ofonly;
@@ -1611,6 +1610,5 @@
 EXPORT_SYMBOL(fb_register_client);
 EXPORT_SYMBOL(fb_unregister_client);
 EXPORT_SYMBOL(fb_get_options);
-EXPORT_SYMBOL(fb_new_modelist);
 
 MODULE_LICENSE("GPL");
drivers/video/macmodes.c renamed from drivers/video/macmodes.c.old +0 -1
@@ -327,7 +327,6 @@
     }
     return -EINVAL;
 }
-EXPORT_SYMBOL(mac_var_to_vmode);
 
 /**
  *	mac_map_monitor_sense - Convert monitor sense to vmode
drivers/video/modedb.c renamed from drivers/video/modedb.c.old +0 -2
@@ -1016,8 +1016,6 @@
 EXPORT_SYMBOL(fb_var_to_videomode);
 EXPORT_SYMBOL(fb_mode_is_equal);
 EXPORT_SYMBOL(fb_add_videomode);
-EXPORT_SYMBOL(fb_delete_videomode);
-EXPORT_SYMBOL(fb_destroy_modelist);
 EXPORT_SYMBOL(fb_match_mode);
 EXPORT_SYMBOL(fb_find_best_mode);
 EXPORT_SYMBOL(fb_find_nearest_mode);

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Adrian Bunk

This patch removes the following unused EXPORT_SYMBOL's:
- fbcvt.c: fb_find_mode_cvt
- fbmem.c: fb_con_duit
- fbmem.c: fb_new_modelist
- macmodes.c: mac_var_to_vmode

mac_var_to_vmode is used by valkyriefb, platinumfb and controlfb, but they cannot be compiled as modules, so yes, no need to export this.

Quoted 2 lines

- modedb.c: fb_delete_videomode
- modedb.c: fb_destroy_modelist

These are meant to be used by other modules, but okay, we'll just do the exporting later as needed.

Quoted 2 lines

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642