From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> --- 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 5355cd2..1e4480b 100644 --- a/backport/compat/compat-3.6.c +++ b/backport/compat/compat-3.6.c @@ -16,6 +16,7 @@ #include <linux/i2c.h> #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include <linux/dma-attrs.h> /* * 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 ccc43a2..f2c1a90 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 <linux/i2c.h> +#include <linux/dma-attrs.h> /* Unlocked flavor */ #define __i2c_transfer LINUX_BACKPORT(__i2c_transfer) extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html