]> git.baikalelectronics.ru Git - kernel.git/commitdiff
video: fbdev: omap: Add prototype for hwa742_update_window_async()
authorHelge Deller <deller@gmx.de>
Sun, 29 May 2022 06:35:52 +0000 (08:35 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 29 May 2022 08:20:15 +0000 (10:20 +0200)
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>
drivers/video/fbdev/omap/omapfb.h

index d930152c289cee43d847bf095a8294d313c49cc5..0c753ccbc1c0ac0920cf1b930de451d278f65635 100644 (file)
@@ -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 */