[PATCH] Fix u32 vs. pm_message_t in drivers/char
Here are fixes for drivers/char. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
438510f6f0
commit
4fd416c14c
@@ -1103,7 +1103,7 @@ static int sonypi_disable(void)
|
||||
#ifdef CONFIG_PM
|
||||
static int old_camera_power;
|
||||
|
||||
static int sonypi_suspend(struct device *dev, u32 state, u32 level)
|
||||
static int sonypi_suspend(struct device *dev, pm_message_t state, u32 level)
|
||||
{
|
||||
if (level == SUSPEND_DISABLE) {
|
||||
old_camera_power = sonypi_device.camera_power;
|
||||
|
Reference in New Issue
Block a user