From: 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 - 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 --- 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 -puN drivers/video/fbcvt.c~fbdev-remove-unused-exports drivers/video/fbcvt.c --- devel/drivers/video/fbcvt.c~fbdev-remove-unused-exports 2006-05-27 23:15:42.000000000 -0700 +++ devel-akpm/drivers/video/fbcvt.c 2006-05-27 23:15:42.000000000 -0700 @@ -376,4 +376,3 @@ int fb_find_mode_cvt(struct fb_videomode return 0; } -EXPORT_SYMBOL(fb_find_mode_cvt); diff -puN drivers/video/fbmem.c~fbdev-remove-unused-exports drivers/video/fbmem.c --- devel/drivers/video/fbmem.c~fbdev-remove-unused-exports 2006-05-27 23:15:42.000000000 -0700 +++ devel-akpm/drivers/video/fbmem.c 2006-05-27 23:15:42.000000000 -0700 @@ -1509,7 +1509,6 @@ int fb_con_duit(struct fb_info *info, in 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 -puN drivers/video/macmodes.c~fbdev-remove-unused-exports drivers/video/macmodes.c --- devel/drivers/video/macmodes.c~fbdev-remove-unused-exports 2006-05-27 23:15:42.000000000 -0700 +++ devel-akpm/drivers/video/macmodes.c 2006-05-27 23:15:42.000000000 -0700 @@ -327,7 +327,6 @@ int mac_var_to_vmode(const struct fb_var } return -EINVAL; } -EXPORT_SYMBOL(mac_var_to_vmode); /** * mac_map_monitor_sense - Convert monitor sense to vmode diff -puN drivers/video/modedb.c~fbdev-remove-unused-exports drivers/video/modedb.c --- devel/drivers/video/modedb.c~fbdev-remove-unused-exports 2006-05-27 23:15:42.000000000 -0700 +++ devel-akpm/drivers/video/modedb.c 2006-05-27 23:15:42.000000000 -0700 @@ -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); _