Skip to contentSkip to conversation

mfd: Fix WM831x I2C suspend prototype

PATCH In review Mark Brown 2 participants 2 messages Apr 7, 2010 – Apr 8, 2010

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: Fix WM831x I2C suspend prototype

Sorry about the oversight.

---
 drivers/mfd/wm831x-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/wm831x-core.c +1 -1
index d4331b2..1a968f3 100644
@@ -1767,7 +1767,7 @@ static int wm831x_i2c_remove(struct i2c_client *i2c)
 	return 0;
 }
 
-static int wm831x_i2c_suspend(struct i2c_client *i2c)
+static int wm831x_i2c_suspend(struct i2c_client *i2c, pm_message_t mesg)
 {
 	struct wm831x *wm831x = i2c_get_clientdata(i2c);
 
Signature · 1 line
1.7.0.3
#1 lore raw
Quoted 1 line · Mark Brown

Sorry about the oversight.

No problem. I wonder how that slipped through my compile tests... Anyway, I merged it with your last wm831x-core patch.

Cheers,
Samuel.

Quoted 21 lines
---
 drivers/mfd/wm831x-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/wm831x-core.c +1 -1
index d4331b2..1a968f3 100644
@@ -1767,7 +1767,7 @@ static int wm831x_i2c_remove(struct i2c_client *i2c)
 	return 0;
 }
 
-static int wm831x_i2c_suspend(struct i2c_client *i2c)
+static int wm831x_i2c_suspend(struct i2c_client *i2c, pm_message_t mesg)
 {
 	struct wm831x *wm831x = i2c_get_clientdata(i2c);
 
Signature · 1 line
1.7.0.3
Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/