Re: [PATCH 02/10] vt: Implement helpers for struct vc_font in source file
From: Greg KH
Date: Mon Mar 30 2026 - 11:38:49 EST
On Fri, Mar 27, 2026 at 01:49:35PM +0100, Thomas Zimmermann wrote:
> Move the helpers vc_font_pitch() and vc_font_size() from the VT
> header file into source file. They are not called very often, so
> there's no benefit in keeping them in the headers. Also avoids
> including <liux/math.h> from the header.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> ---
> drivers/tty/vt/vt.c | 35 ++++++++++++++++++++++++++++++++++
> include/linux/console_struct.h | 30 ++---------------------------
> 2 files changed, 37 insertions(+), 28 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>