Commit f2151613 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Hans Verkuil
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent ca8dc595
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)