|
@@ -1426,7 +1426,7 @@ static int msp_detach(struct i2c_client *client);
|
|
|
static int msp_probe(struct i2c_adapter *adap);
|
|
|
static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg);
|
|
|
|
|
|
-static int msp_suspend(struct device * dev, u32 state, u32 level);
|
|
|
+static int msp_suspend(struct device * dev, pm_message_t state, u32 level);
|
|
|
static int msp_resume(struct device * dev, u32 level);
|
|
|
|
|
|
static void msp_wake_thread(struct i2c_client *client);
|
|
@@ -1834,7 +1834,7 @@ static int msp_command(struct i2c_client *client, unsigned int cmd, void *arg)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int msp_suspend(struct device * dev, u32 state, u32 level)
|
|
|
+static int msp_suspend(struct device * dev, pm_message_t state, u32 level)
|
|
|
{
|
|
|
struct i2c_client *c = container_of(dev, struct i2c_client, dev);
|
|
|
|