]> git.karo-electronics.de Git - karo-tx-linux.git/commit
linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 29 Jul 2011 06:55:11 +0000 (16:55 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Oct 2011 18:10:15 +0000 (14:10 -0400)
commitea7dd259cfd1d135708dc9f8d70312b5b2ecf32e
tree67f96a7a4766fd14c87bbc53b5f06606e0cf2ef0
parentc8dddca3c174f787b571ef62d87507f296c5ecf6
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 <sfr@canb.auug.org.au>

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/dmaengine.h