diff mbox series

fbdev: fbmon: fix function name in kernel-doc

Message ID 20230113063639.6940-1-rdunlap@infradead.org
State New
Headers show
Series fbdev: fbmon: fix function name in kernel-doc | expand

Commit Message

Randy Dunlap Jan. 13, 2023, 6:36 a.m. UTC
Fix a kernel-doc warning by correcting the function name in the
kernel-doc comment:

drivers/video/fbdev/core/fbmon.c:1073: warning: expecting prototype for fb_get_hblank_by_freq(). Prototype was for fb_get_hblank_by_hfreq() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
---
 drivers/video/fbdev/core/fbmon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Helge Deller Jan. 15, 2023, 8:53 p.m. UTC | #1
On 1/13/23 07:36, Randy Dunlap wrote:
> Fix a kernel-doc warning by correcting the function name in the
> kernel-doc comment:
>
> drivers/video/fbdev/core/fbmon.c:1073: warning: expecting prototype for fb_get_hblank_by_freq(). Prototype was for fb_get_hblank_by_hfreq() instead
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Helge Deller <deller@gmx.de>
> Cc: linux-fbdev@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org

applied.

Thanks!
Helge

> ---
>   drivers/video/fbdev/core/fbmon.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -- a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c
> --- a/drivers/video/fbdev/core/fbmon.c
> +++ b/drivers/video/fbdev/core/fbmon.c
> @@ -1050,7 +1050,7 @@ static u32 fb_get_vblank(u32 hfreq)
>   }
>
>   /**
> - * fb_get_hblank_by_freq - get horizontal blank time given hfreq
> + * fb_get_hblank_by_hfreq - get horizontal blank time given hfreq
>    * @hfreq: horizontal freq
>    * @xres: horizontal resolution in pixels
>    *
diff mbox series

Patch

diff -- a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c
--- a/drivers/video/fbdev/core/fbmon.c
+++ b/drivers/video/fbdev/core/fbmon.c
@@ -1050,7 +1050,7 @@  static u32 fb_get_vblank(u32 hfreq)
 }
 
 /**
- * fb_get_hblank_by_freq - get horizontal blank time given hfreq
+ * fb_get_hblank_by_hfreq - get horizontal blank time given hfreq
  * @hfreq: horizontal freq
  * @xres: horizontal resolution in pixels
  *