Jingoo Han 0a488c49ea i2c: i2c-mpc: 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.

drivers/i2c/busses/i2c-mpc.c:724:12: warning: 'mpc_i2c_suspend' defined but not used [-Wunused-function]
drivers/i2c/busses/i2c-mpc.c:734:12: warning: 'mpc_i2c_resume' defined but not used [-Wunused-function]

Also, this patch makes mpc_i2c_pm_ops static, because mpc_i2c_pm_ops
is not exported.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-08-15 12:23:57 +02:00
..
2013-07-26 08:57:56 -04:00
2013-07-18 12:48:40 -07:00
2013-06-27 13:42:16 -04:00
2013-07-02 14:23:01 -07:00
2013-07-28 19:08:33 +05:30
2013-07-23 16:01:28 -07:00
2013-07-10 14:46:40 -07:00
2013-07-26 11:20:10 -07:00
2013-07-26 11:36:12 -07:00
2013-08-02 13:12:52 -07:00
2013-07-02 11:44:19 -07:00
2013-06-28 13:01:40 +02:00
2013-07-22 09:34:46 +08:00
2013-07-24 16:36:41 -06:00
2013-07-23 14:38:20 -07:00
2013-07-31 17:54:24 -07:00
2013-07-10 14:50:58 -07:00
2013-07-31 11:37:43 -07:00