Skip to content

Commit 79b6612

Browse files
committed
video: fbdev: omap: Add prototype for hwa742_update_window_async()
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 <[email protected]>
1 parent acde400 commit 79b6612

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/video/fbdev/omap/omapfb.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,9 @@ extern int omapfb_update_window_async(struct fb_info *fbi,
229229
struct omapfb_update_window *win,
230230
void (*callback)(void *),
231231
void *callback_data);
232+
extern int hwa742_update_window_async(struct fb_info *fbi,
233+
struct omapfb_update_window *win,
234+
void (*callback)(void *),
235+
void *callback_data);
232236

233237
#endif /* __OMAPFB_H */

0 commit comments

Comments
 (0)