Commit c0cd143a authored by Randy Dunlap's avatar Randy Dunlap Committed by James Toy

Fix build error when CONFIG_PM=n:

The suspend & resume function names are incorrect for the PM=n case.
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c23acc1c
...@@ -109,8 +109,8 @@ static int lis3lv02d_spi_resume(struct spi_device *spi) ...@@ -109,8 +109,8 @@ static int lis3lv02d_spi_resume(struct spi_device *spi)
} }
#else #else
#define lis3_spi_suspend NULL #define lis3lv02d_spi_suspend NULL
#define lis3_spi_resume NULL #define lis3lv02d_spi_resume NULL
#endif #endif
static struct spi_driver lis302dl_spi_driver = { static struct spi_driver lis302dl_spi_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment