Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117
b: refs/heads/master
c: b1c4285
h: refs/heads/master
i:
  115: f58148e
v: v3
  • Loading branch information
Pavel Machek authored and Linus Torvalds committed Apr 16, 2005
1 parent d41df8b commit 87cf0c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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: 7f4927c1b505eb4e679ab506bf7626af6258e6b6
refs/heads/master: b1c42851b006398dda77a068275e8741e33761f1
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int of_device_remove(struct device *dev)
return 0;
}

static int of_device_suspend(struct device *dev, u32 state)
static int of_device_suspend(struct device *dev, pm_message_t state)
{
struct of_device * of_dev = to_of_device(dev);
struct of_platform_driver * drv = to_of_platform_driver(dev->driver);
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/macio.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ struct macio_driver
int (*probe)(struct macio_dev* dev, const struct of_match *match);
int (*remove)(struct macio_dev* dev);

int (*suspend)(struct macio_dev* dev, u32 state);
int (*suspend)(struct macio_dev* dev, pm_message_t state);
int (*resume)(struct macio_dev* dev);
int (*shutdown)(struct macio_dev* dev);

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/ocp.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct ocp_driver {
const struct ocp_device_id *id_table; /* NULL if wants all devices */
int (*probe) (struct ocp_device *dev); /* New device inserted */
void (*remove) (struct ocp_device *dev); /* Device removed (NULL if not a hot-plug capable driver) */
int (*suspend) (struct ocp_device *dev, u32 state); /* Device suspended */
int (*suspend) (struct ocp_device *dev, pm_message_t state); /* Device suspended */
int (*resume) (struct ocp_device *dev); /* Device woken up */
struct device_driver driver;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/of_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct of_platform_driver
int (*probe)(struct of_device* dev, const struct of_match *match);
int (*remove)(struct of_device* dev);

int (*suspend)(struct of_device* dev, u32 state);
int (*suspend)(struct of_device* dev, pm_message_t state);
int (*resume)(struct of_device* dev);
int (*shutdown)(struct of_device* dev);

Expand Down

0 comments on commit 87cf0c6

Please sign in to comment.