From: Luis R. Rodriguez Date: Sat, 13 Apr 2013 14:13:39 +0000 (-0700) Subject: compat: add missing header includes for DMA backports X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=720c3c1448f519caa7aeedcc3a6956ce39c6a9bf;p=openwrt%2Fstaging%2Fblogic.git compat: add missing header includes for DMA backports Signed-off-by: Luis R. Rodriguez Signed-off-by: Johannes Berg --- 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,