From: Johannes Berg Date: Fri, 12 Apr 2013 23:23:31 +0000 (+0200) Subject: backports: fix dma-buf backport patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=04b1ddadde9c703a9b52952fd72e693ed697b1b2;p=openwrt%2Fstaging%2Fblogic.git backports: fix dma-buf backport patch The patched backported dma-buf code uses the "current" macro to determine task information, so it needs to include sched.h. Signed-off-by: Johannes Berg --- diff --git a/patches/backport-adjustments/dma-buf.patch b/patches/backport-adjustments/dma-buf.patch index 06ed9f651654..789a1083ef94 100644 --- a/patches/backport-adjustments/dma-buf.patch +++ b/patches/backport-adjustments/dma-buf.patch @@ -1,12 +1,13 @@ --- a/compat/drivers-base-dma-buf.c +++ b/compat/drivers-base-dma-buf.c -@@ -27,6 +27,9 @@ +@@ -27,6 +27,10 @@ #include #include #include +#include +#include +#include ++#include static inline int is_dma_buf_file(struct file *);