]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/media/video/msp3400.c
[PATCH] fix u32 vs. pm_message_t in drivers/media
[mv-sheeva.git] / drivers / media / video / msp3400.c
index d996ec99caff9e57aae945af220d222a3d5f1cac..c97df705df5eae1c5af45e4e7aac86f4a9224e70 100644 (file)
@@ -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);