summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/mem_encrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/mem_encrypt.h')
-rw-r--r--arch/powerpc/include/asm/mem_encrypt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mem_encrypt.h b/arch/powerpc/include/asm/mem_encrypt.h
index 2f26b8fc8d29..e355ca46fad9 100644
--- a/arch/powerpc/include/asm/mem_encrypt.h
+++ b/arch/powerpc/include/asm/mem_encrypt.h
@@ -9,6 +9,9 @@
#define _ASM_POWERPC_MEM_ENCRYPT_H
#include <asm/svm.h>
+#include <linux/types.h>
+
+struct device;
static inline bool force_dma_unencrypted(struct device *dev)
{