From: Arnd Bergmann Date: Tue, 13 Jan 2015 14:11:55 +0000 (+0100) Subject: pcmcia: add missing include for new pci resource handler X-Git-Tag: fixes-v4.0-rc1~101^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d885d4f3728f386034bb2f7a61b7f2054c49b2d4;p=pandora-kernel.git pcmcia: add missing include for new pci resource handler The recently added rsrc_pci.c file calls pci_bus_alloc_resource without including the header file that declares it, and that sometimes causes a build warning on ARM: drivers/pcmcia/rsrc_pci.c: In function 'find_io_region': drivers/pcmcia/rsrc_pci.c:40:2: error: implicit declaration of function 'pci_bus_alloc_resource' [-Werror=implicit-function-declaration] This adds the missing include statement. Signed-off-by: Arnd Bergmann Fixes: 02b03846bb2be ("pcmcia: add a new resource manager for non ISA systems") Acked-by: Alan Cox Reported-by: Jim Davis Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed