+ lis3-add-power-management-functions-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     hwmon: fix lis3-spi for CONFIG_PM=n
has been added to the -mm tree.  Its filename is
     lis3-add-power-management-functions-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: hwmon: fix lis3-spi for CONFIG_PM=n
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: Daniel Mack <daniel@xxxxxxxx>
Cc: Pavel Machek <pavel@xxxxxx>
Cc: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/hwmon/lis3lv02d_spi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/hwmon/lis3lv02d_spi.c~lis3-add-power-management-functions-fix drivers/hwmon/lis3lv02d_spi.c
--- a/drivers/hwmon/lis3lv02d_spi.c~lis3-add-power-management-functions-fix
+++ a/drivers/hwmon/lis3lv02d_spi.c
@@ -109,8 +109,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 = {
_

Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are

origin.patch
linux-next.patch
input-drivers-input-xpadc-improve-xbox-360-wireless-support-and-add-sysfs-interface.patch
kernel-doc-move-ignoring-kmemcheck.patch
mm-make-swap-token-dummies-static-inlines-fix-2.patch
readahead-add-blk_run_backing_dev-fix-fix-2.patch
page_alloc-fix-kernel-doc-warning.patch
lis3-add-power-management-functions-fix.patch
reiser4-export-remove_from_page_cache-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux