From: Arnd Bergmann Date: Fri, 7 Mar 2025 10:24:27 +0000 (+0100) Subject: media: pci: mgb4: include linux/errno.h X-Git-Tag: v6.15-rc1~174^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2151613e040973c868d28c8b00885dfab69eb75;p=thirdparty%2Fkernel%2Flinux.git media: pci: mgb4: include linux/errno.h The errno.h header is not always included indirectly, leading to rare randconfig build warnings. drivers/media/pci/mgb4/mgb4_regs.c:20:11: error: use of undeclared identifier 'EINVAL' 20 | return -EINVAL; Signed-off-by: Arnd Bergmann Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/pci/mgb4/mgb4_regs.c b/drivers/media/pci/mgb4/mgb4_regs.c index 31befd722d72d..b45537dbfafab 100644 --- a/drivers/media/pci/mgb4/mgb4_regs.c +++ b/drivers/media/pci/mgb4/mgb4_regs.c @@ -5,6 +5,7 @@ */ #include +#include #include "mgb4_regs.h" int mgb4_regs_map(struct resource *res, struct mgb4_regs *regs)