From 720c3c1448f519caa7aeedcc3a6956ce39c6a9bf Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Sat, 13 Apr 2013 07:13:39 -0700 Subject: [PATCH] compat: add missing header includes for DMA backports Signed-off-by: Luis R. Rodriguez Signed-off-by: Johannes Berg --- backport/compat/compat-3.6.c | 1 + backport/include/linux/compat-3.6.h | 1 + 2 files changed, 2 insertions(+) diff --git a/backport/compat/compat-3.6.c b/backport/compat/compat-3.6.c index 5355cd220da1..1e4480b00e8d 100644 --- a/backport/compat/compat-3.6.c +++ b/backport/compat/compat-3.6.c @@ -16,6 +16,7 @@ #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include /* * Create scatter-list for the already allocated DMA buffer. */ diff --git a/backport/include/linux/compat-3.6.h b/backport/include/linux/compat-3.6.h index ccc43a2ea333..f2c1a9098e82 100644 --- a/backport/include/linux/compat-3.6.h +++ b/backport/include/linux/compat-3.6.h @@ -9,6 +9,7 @@ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) #include +#include /* Unlocked flavor */ #define __i2c_transfer LINUX_BACKPORT(__i2c_transfer) extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, -- 2.30.2