浏览代码

[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 <bunk@stusta.de>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 19 年之前
父节点
当前提交
c72755b3bd
共有 4 个文件被更改,包括 0 次插入6 次删除
  1. 0 1
      drivers/video/fbcvt.c
  2. 0 2
      drivers/video/fbmem.c
  3. 0 1
      drivers/video/macmodes.c
  4. 0 2
      drivers/video/modedb.c

+ 0 - 1
drivers/video/fbcvt.c

@@ -376,4 +376,3 @@ int fb_find_mode_cvt(struct fb_videomode *mode, int margins, int rb)
 
 
 	return 0;
 	return 0;
 }
 }
-EXPORT_SYMBOL(fb_find_mode_cvt);

+ 0 - 2
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);
 	return blocking_notifier_call_chain(&fb_notifier_list, event, &evnt);
 }
 }
-EXPORT_SYMBOL(fb_con_duit);
 
 
 static char *video_options[FB_MAX];
 static char *video_options[FB_MAX];
 static int ofonly;
 static int ofonly;
@@ -1620,6 +1619,5 @@ EXPORT_SYMBOL(fb_set_suspend);
 EXPORT_SYMBOL(fb_register_client);
 EXPORT_SYMBOL(fb_register_client);
 EXPORT_SYMBOL(fb_unregister_client);
 EXPORT_SYMBOL(fb_unregister_client);
 EXPORT_SYMBOL(fb_get_options);
 EXPORT_SYMBOL(fb_get_options);
-EXPORT_SYMBOL(fb_new_modelist);
 
 
 MODULE_LICENSE("GPL");
 MODULE_LICENSE("GPL");

+ 0 - 1
drivers/video/macmodes.c

@@ -327,7 +327,6 @@ int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
     }
     }
     return -EINVAL;
     return -EINVAL;
 }
 }
-EXPORT_SYMBOL(mac_var_to_vmode);
 
 
 /**
 /**
  *	mac_map_monitor_sense - Convert monitor sense to vmode
  *	mac_map_monitor_sense - Convert monitor sense to vmode

+ 0 - 2
drivers/video/modedb.c

@@ -1021,8 +1021,6 @@ EXPORT_SYMBOL(fb_videomode_to_var);
 EXPORT_SYMBOL(fb_var_to_videomode);
 EXPORT_SYMBOL(fb_var_to_videomode);
 EXPORT_SYMBOL(fb_mode_is_equal);
 EXPORT_SYMBOL(fb_mode_is_equal);
 EXPORT_SYMBOL(fb_add_videomode);
 EXPORT_SYMBOL(fb_add_videomode);
-EXPORT_SYMBOL(fb_delete_videomode);
-EXPORT_SYMBOL(fb_destroy_modelist);
 EXPORT_SYMBOL(fb_match_mode);
 EXPORT_SYMBOL(fb_match_mode);
 EXPORT_SYMBOL(fb_find_best_mode);
 EXPORT_SYMBOL(fb_find_best_mode);
 EXPORT_SYMBOL(fb_find_nearest_mode);
 EXPORT_SYMBOL(fb_find_nearest_mode);