mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
dell-flash-unlock: Remove unnecessary includes for NetBSD
The pio.h header, although present on NetBSD, is not necessary, as it only declares x86 port IO inx()/outx() functions which are not actually implemented. Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
This commit is contained in:
@@ -8,12 +8,15 @@
|
||||
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
#include <sys/types.h>
|
||||
#include <machine/sysarch.h>
|
||||
#endif /* __OpenBSD__ || __NetBSD__ */
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
#if defined(__amd64__)
|
||||
#include <amd64/pio.h>
|
||||
#elif defined(__i386__)
|
||||
#include <i386/pio.h>
|
||||
#endif /* __i386__ */
|
||||
#endif /* __OpenBSD__ || __NetBSD__ */
|
||||
#endif /* __OpenBSD__ */
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user