From: Randy Dunlap Date: Thu, 11 Mar 2010 17:10:32 +0000 (-0800) Subject: mtd/nand/r852: fix build for CONFIG_PCI disabled X-Git-Tag: v2.6.35-rc1~465^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f696aa43fadb13a21c4e723fb6e51bf640dd1363;p=pandora-kernel.git mtd/nand/r852: fix build for CONFIG_PCI disabled r852 fails to build when CONFIG_PCI is not enabled since it uses pci_*() calls and is a PCI driver, so it should depend on PCI to prevent build errors. It should also #include . drivers/mtd/nand/r852.c:1053: error: implicit declaration of function 'pci_prepare_to_sleep' drivers/mtd/nand/r852.c:1062: error: implicit declaration of function 'pci_back_from_sleep' Signed-off-by: Randy Dunlap Cc: Maxim Levitsky Signed-off-by: David Woodhouse --- Reading git-diff-tree failed