patch driver-core-pm-make-suspend_device-static.patch added to gregkh-2.6 tree

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

 



This is a note to let you know that I've just added the patch titled

     Subject: Driver core: PM: Make suspend_device() static

to my gregkh-2.6 tree.  Its filename is

     driver-core-pm-make-suspend_device-static.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From rjw@xxxxxxx Sun Feb  3 14:03:13 2008
From: Adrian Bunk <bunk@xxxxxxxxxx>
Date: Sun, 3 Feb 2008 22:55:18 +0100
Subject: Driver core: PM: Make suspend_device() static
To: Len Brown <lenb@xxxxxxxxxx>
Cc: ACPI Devel Maling List <linux-acpi@xxxxxxxxxxxxxxx>, Pavel Machek <pavel@xxxxxx>, pm list <linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Greg KH <greg@xxxxxxxxx>, Adrian Bunk <bunk@xxxxxxxxxx>
Message-ID: <200802032255.19835.rjw@xxxxxxx>
Content-Disposition: inline


From: Adrian Bunk <bunk@xxxxxxxxxx>

suspend_device() can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
 drivers/base/power/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -415,7 +415,7 @@ EXPORT_SYMBOL_GPL(device_power_down);
  *	@dev:	Device.
  *	@state:	Power state device is entering.
  */
-int suspend_device(struct device *dev, pm_message_t state)
+static int suspend_device(struct device *dev, pm_message_t state)
 {
 	int error = 0;
 


Patches currently in gregkh-2.6 which might be from bunk@xxxxxxxxxx are

driver/driver-core-pm-make-suspend_device-static.patch
pci/pci-if-0-pci_assign_resource_fixed.patch
usb/usb-make-usb_storage_onetouch-available-with-pm.patch
usb/usb-g_printer-fix-empty-if-statement.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux