From c72755b3bdcf551dcfb1d061c8f09fc243e28f49 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 26 Jun 2006 00:26:45 -0700 Subject: [PATCH] [PATCH] fbdev: 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 Signed-off-by: Adrian Bunk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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(-) diff --git a/drivers/video/fbcvt.c b/drivers/video/fbcvt.c index ac90883dc3..b5498999c4 100644 --- a/drivers/video/fbcvt.c +++ b/drivers/video/fbcvt.c @@ -376,4 +376,3 @@ int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb) return 0; } -EXPORT_SYMBOL(fb_find_mode_cvt); diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 2529805ed1..2279d14fe5 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -1509,7 +1509,6 @@ int fb_con_duit(struct fb_info *info, int event, void *data) return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt); } -EXPORT_SYMBOL(fb_con_duit); static char *video_options[FB_MAX]; static int ofonly; @@ -1620,6 +1619,5 @@ EXPORT_SYMBOL(fb_set_suspend); EXPORT_SYMBOL(fb_register_client); EXPORT_SYMBOL(fb_unregister_client); EXPORT_SYMBOL(fb_get_options); -EXPORT_SYMBOL(fb_new_modelist); MODULE_LICENSE("GPL"); diff --git a/drivers/video/macmodes.c b/drivers/video/macmodes.c index c0385c6f7d..95f5fc646f 100644 --- a/drivers/video/macmodes.c +++ b/drivers/video/macmodes.c @@ -327,7 +327,6 @@ int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, } return -EINVAL; } -EXPORT_SYMBOL(mac_var_to_vmode); /** * mac_map_monitor_sense - Convert monitor sense to vmode diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index 7e539b69a9..ff5454601e 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c @@ -1021,8 +1021,6 @@ EXPORT_SYMBOL(fb_videomode_to_var); 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); -- 2.39.5