[linux-yocto] [PATCH 05/15] arch/powerpc: Fix Compile Error when the Target is PowerPC

Charlie Paul cpaul.windriver at gmail.com
Mon Apr 28 17:13:40 PDT 2014


From: John Jacques <john.jacques at lsi.com>

Recent LSI GPDMA driver updates, tested on ARM, broke the build
on PowerPC.  Including linux/sizes.h fixes the error.

Signed-off-by: John Jacques <john.jacques at lsi.com>
---
 drivers/dma/lsi-dma32.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/lsi-dma32.c b/drivers/dma/lsi-dma32.c
index 837f3e1..0977ef4 100644
--- a/drivers/dma/lsi-dma32.c
+++ b/drivers/dma/lsi-dma32.c
@@ -36,6 +36,7 @@
 #include <asm/page.h>
 #include <linux/bitops.h>
 #include <linux/atomic.h>
+#include <linux/sizes.h>
 #include "virt-dma.h"
 #include "lsi-dma32.h"
 
-- 
1.7.9.5



More information about the linux-yocto mailing list