summaryrefslogtreecommitdiff
path: root/lib/devmem_is_allowed.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/devmem_is_allowed.c')
-rw-r--r--lib/devmem_is_allowed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/devmem_is_allowed.c b/lib/devmem_is_allowed.c
index 60be9e24bd57..9c060c69f134 100644
--- a/lib/devmem_is_allowed.c
+++ b/lib/devmem_is_allowed.c
@@ -10,6 +10,7 @@
#include <linux/mm.h>
#include <linux/ioport.h>
+#include <linux/io.h>
/*
* devmem_is_allowed() checks to see if /dev/mem access to a certain address