diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-03-11 09:10:32 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-03-11 09:19:12 -0800 |
commit | f696aa43fadb13a21c4e723fb6e51bf640dd1363 (patch) | |
tree | 63eebe873b9047bb7c0d7d0e521a3e992699b702 /fs | |
parent | e4d64cab99a2d659bf9d6fe9ab67666bceb68d87 (diff) |
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 <linux/pci.h>.
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 <randy.dunlap@oracle.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions