Skip to content

Commit

Permalink
video: fbdev: omap: Add prototype for hwa742_update_window_async()
Browse files Browse the repository at this point in the history
The symbol hwa742_update_window_async() is exported, but there is no
prototype defined for it. That's why gcc complains:

drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async

Add the prototype, but I wonder if we couldn't drop exporting the symbol
instead. Since omapfb_update_window_async() is exported the same way,
are there any users outside of the tree?

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
hdeller committed May 29, 2022
1 parent acde400 commit 79b6612
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/video/fbdev/omap/omapfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,9 @@ extern int omapfb_update_window_async(struct fb_info *fbi,
struct omapfb_update_window *win,
void (*callback)(void *),
void *callback_data);
extern int hwa742_update_window_async(struct fb_info *fbi,
struct omapfb_update_window *win,
void (*callback)(void *),
void *callback_data);

#endif /* __OMAPFB_H */

0 comments on commit 79b6612

Please sign in to comment.