diff options
author | 2025-03-07 11:24:27 +0100 | |
---|---|---|
committer | 2025-03-07 12:05:42 +0100 | |
commit | f2151613e040973c868d28c8b00885dfab69eb75 (patch) | |
tree | de032d02709288b77b76ca92a584383d09e7a16d | |
parent | media: synopsys: hdmirx: Fix signedness bug in hdmirx_parse_dt() (diff) | |
download | wireguard-linux-f2151613e040973c868d28c8b00885dfab69eb75.tar.xz wireguard-linux-f2151613e040973c868d28c8b00885dfab69eb75.zip |
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 <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r-- | drivers/media/pci/mgb4/mgb4_regs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/mgb4/mgb4_regs.c b/drivers/media/pci/mgb4/mgb4_regs.c index 31befd722d72..b45537dbfafa 100644 --- a/drivers/media/pci/mgb4/mgb4_regs.c +++ b/drivers/media/pci/mgb4/mgb4_regs.c @@ -5,6 +5,7 @@ */ #include <linux/ioport.h> +#include <linux/errno.h> #include "mgb4_regs.h" int mgb4_regs_map(struct resource *res, struct mgb4_regs *regs) |