Re: [PATCH 02/10] vt: Implement helpers for struct vc_font in source file

Greg KH
2026-03-30T15:35:41Z

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@suse.de>
> ---
> 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@linuxfoundation.org>