Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

video: fbdev: omapfb: Unexport omap*_update_window_async()

There is no need to EXPORT the functions hwa742_update_window_async()
and omapfb_update_window_async() since they are not used anywhere inside
or outside the kernel tree.

Signed-off-by: Helge Deller <deller@gmx.de>

+2 -13
+1 -2
drivers/video/fbdev/omap/hwa742.c
··· 489 489 __hwa742_update_window_auto(false); 490 490 } 491 491 492 - int hwa742_update_window_async(struct fb_info *fbi, 492 + static int hwa742_update_window_async(struct fb_info *fbi, 493 493 struct omapfb_update_window *win, 494 494 void (*complete_callback)(void *arg), 495 495 void *complete_callback_data) ··· 522 522 out: 523 523 return r; 524 524 } 525 - EXPORT_SYMBOL(hwa742_update_window_async); 526 525 527 526 static int hwa742_setup_plane(int plane, int channel_out, 528 527 unsigned long offset, int screen_width,
-9
drivers/video/fbdev/omap/omapfb.h
··· 227 227 omapfb_notifier_callback_t callback, 228 228 void *callback_data); 229 229 extern int omapfb_unregister_client(struct omapfb_notifier_block *nb); 230 - extern int omapfb_update_window_async(struct fb_info *fbi, 231 - struct omapfb_update_window *win, 232 - void (*callback)(void *), 233 - void *callback_data); 234 - extern int hwa742_update_window_async(struct fb_info *fbi, 235 - struct omapfb_update_window *win, 236 - void (*callback)(void *), 237 - void *callback_data); 238 - 239 230 #endif /* __OMAPFB_H */
+1 -2
drivers/video/fbdev/omap/omapfb_main.c
··· 668 668 return r; 669 669 } 670 670 671 - int omapfb_update_window_async(struct fb_info *fbi, 671 + static int omapfb_update_window_async(struct fb_info *fbi, 672 672 struct omapfb_update_window *win, 673 673 void (*callback)(void *), 674 674 void *callback_data) ··· 714 714 715 715 return fbdev->ctrl->update_window(fbi, win, callback, callback_data); 716 716 } 717 - EXPORT_SYMBOL(omapfb_update_window_async); 718 717 719 718 static int omapfb_update_win(struct fb_info *fbi, 720 719 struct omapfb_update_window *win)