make suspend_device() static
Subsystems (4)
PATCH 1/1 make suspend_device() static
suspend_device() can become static.
Signed-off-by Adrian Bunk <[email protected]>
---344fcfcea0df8cbaa83e10d7e66b826ead67290b
drivers/base/power/main.c +1 -1
@@ -414,7 +414,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 ;
Quoted 1 line · Adrian Bunk
suspend_device()can become static.
That's correct. I'll push the patch to Len.
Quoted 18 lines
Signed-off-by Adrian Bunk <[email protected]>---
344fcfcea0df8cbaa83e10d7e66b826ead67290bdrivers/base/power/main.c +1
-1@@ -414,7 +414,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 ;
Quoted 1 line · Adrian Bunk
suspend_device()can become static.
That's correct. I'll push the patch to Len.
Quoted 18 lines
Signed-off-by Adrian Bunk <[email protected]>---
344fcfcea0df8cbaa83e10d7e66b826ead67290bdrivers/base/power/main.c +1
-1@@ -414,7 +414,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 ;