]> git.baikalelectronics.ru Git - kernel.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>
Mon, 31 Oct 2011 23:32:30 +0000 (19:32 -0400)
commit863ffbf6baa9ca2404d21958556e4e0db6b77c74
treed8791f30ee8605f3539f39aa1dd12ab7283f8d31
parent8f61b0759b9b4ceb613eb512ea05f2d46974e90b
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