Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289000
b: refs/heads/master
c: 4f1ef76
h: refs/heads/master
v: v3
  • Loading branch information
Víctor Manuel Jáquez Leal authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent ba6ff35 commit ccf6ed9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a6b1518d702d4bf4bb9262993c47263a8573518
refs/heads/master: 4f1ef76165306577ad0cb708ea90fc19d311e7be
13 changes: 6 additions & 7 deletions trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev)
}

#ifdef CONFIG_PM
static int BRIDGE_SUSPEND(struct platform_device *pdev, pm_message_t state)
static int bridge_suspend(struct platform_device *pdev, pm_message_t state)
{
u32 status;
u32 command = PWR_EMERGENCYDEEPSLEEP;
Expand All @@ -441,7 +441,7 @@ static int BRIDGE_SUSPEND(struct platform_device *pdev, pm_message_t state)
return 0;
}

static int BRIDGE_RESUME(struct platform_device *pdev)
static int bridge_resume(struct platform_device *pdev)
{
u32 status;

Expand All @@ -453,9 +453,6 @@ static int BRIDGE_RESUME(struct platform_device *pdev)
wake_up(&bridge_suspend_data.suspend_wq);
return 0;
}
#else
#define BRIDGE_SUSPEND NULL
#define BRIDGE_RESUME NULL
#endif

static struct platform_driver bridge_driver = {
Expand All @@ -464,8 +461,10 @@ static struct platform_driver bridge_driver = {
},
.probe = omap34_xx_bridge_probe,
.remove = __devexit_p(omap34_xx_bridge_remove),
.suspend = BRIDGE_SUSPEND,
.resume = BRIDGE_RESUME,
#ifdef CONFIG_PM
.suspend = bridge_suspend,
.resume = bridge_resume,
#endif
};

static int __init bridge_init(void)
Expand Down

0 comments on commit ccf6ed9

Please sign in to comment.