alistair23-linux/drivers/mtd/devices
Jingoo Han aba98cfde9 mtd: spear_smi: add CONFIG_PM_SLEEP to suspend/resume functions
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
the CONFIG_PM_SLEEP is enabled. Also, unnecessary CONFIG_PM ifdefs
are removed

drivers/mtd/devices/spear_smi.c:1049:12: warning: 'spear_smi_suspend' defined but not used [-Wunused-function]
drivers/mtd/devices/spear_smi.c:1059:12: warning: 'spear_smi_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-05 19:00:24 +01:00
..
bcm47xxsflash.c mtd: bcm47xxsflash: implement polling chip status 2013-08-05 18:20:54 +01:00
bcm47xxsflash.h mtd: bcm47xxsflash: implement ChipCommon R/W ops 2013-08-05 18:20:32 +01:00
block2mtd.c mtd: block2mtd: throttle writes by calling balance_dirty_pages_ratelimited. 2012-12-13 13:39:44 +02:00
docg3.c mtd: doc: use module_platform_driver_probe() 2013-04-05 13:14:24 +01:00
docg3.h
elm.c mtd: devices: elm: check for device's presence before configuration 2013-04-05 12:57:18 +01:00
Kconfig mtd: merge mtdchar module with mtdcore 2013-04-05 13:16:54 +01:00
lart.c
m25p80.c mtd: m25p80: add entry for w25q128 2013-04-05 12:55:36 +01:00
Makefile mtd: doc: remove support for DoC 2000/2001/2001+ 2013-04-05 12:04:31 +01:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c mtd: dataflash: Use of_match_ptr() macro 2013-04-05 13:19:51 +01:00
mtdram.c
phram.c
pmc551.c
slram.c mtd: slram: invalid checking of absolute end address 2012-11-09 17:02:50 +02:00
spear_smi.c mtd: spear_smi: add CONFIG_PM_SLEEP to suspend/resume functions 2013-08-05 19:00:24 +01:00
sst25l.c mtd: remove use of __devexit 2012-11-22 12:07:03 +02:00