From: Paul Gortmaker Date: Fri, 29 Jul 2011 06:55:11 +0000 (+1000) Subject: linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a8efa9d6bf00fbe9597dd3352dc062a998bf9b15;p=~shefty%2Frdma-dev.git linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h The implicit presence of module.h and all its sub-includes was masking these implicit header usages: include/linux/dmaengine.h:684: warning: 'struct page' declared inside parameter list include/linux/dmaengine.h:684: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/dmaengine.h:687: warning: 'struct page' declared inside parameter list include/linux/dmaengine.h:736:2: error: implicit declaration of function 'bitmap_zero' With input from Stephen Rothwell Signed-off-by: Paul Gortmaker --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 8fbf40e0713..1ceff5ae9d3 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -24,6 +24,8 @@ #include #include #include +#include +#include struct scatterlist;