Skip to content

Commit

Permalink
PM: Make suspend_device() static
Browse files Browse the repository at this point in the history
suspend_device() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
AdrianBunk authored and lenb committed Feb 21, 2008
1 parent c6868ea commit 19e20c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 19e20c9

Please sign in to comment.