Messages in this thread Patch in this message | | | Date | Tue, 30 Jun 2009 14:49:37 -0700 | From | Randy Dunlap <> | Subject | [PATCH mmotm] hwmon: fix lis3-spi for CONFIG_PM=n |
| |
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build error when CONFIG_PM=n:
The suspend & resume function names are incorrect for the PM=n case.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/hwmon/lis3lv02d_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
--- mmotm-2009-0630-1250.orig/drivers/hwmon/lis3lv02d_spi.c +++ mmotm-2009-0630-1250/drivers/hwmon/lis3lv02d_spi.c @@ -108,8 +108,8 @@ static int lis3lv02d_spi_resume(struct s } #else -#define lis3_spi_suspend NULL -#define lis3_spi_resume NULL +#define lis3lv02d_spi_suspend NULL +#define lis3lv02d_spi_resume NULL #endif static struct spi_driver lis302dl_spi_driver = {
--- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/
| |