mtd/nand/r852: fix build for CONFIG_PM=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 1 Mar 2010 21:54:19 +0000 (13:54 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Mar 2010 02:32:05 +0000 (18:32 -0800)
commitb2aaf7a2b476820cf5fd7738e8641ed88046acf5
tree0eca6c852eefd9193befb2ed75243d82a48abd34
parentfb45d3232c641bfee5000c8a81e2005903734702
mtd/nand/r852: fix build for CONFIG_PM=n

Fix r852 build for the case of CONFIG_PM=n.

drivers/mtd/nand/r852.c:1039: error: implicit declaration of function 'pci_prepare_to_sleep'
drivers/mtd/nand/r852.c:1048: error: implicit declaration of function 'pci_back_from_sleep'

This patch leaves r852_pm_ops untouched.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/r852.c