diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index c96728435935..41d1a644c9d4 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -558,7 +558,7 @@ struct usb_driver { | |||
558 | 558 | ||
559 | int (*ioctl) (struct usb_interface *intf, unsigned int code, void *buf); | 559 | int (*ioctl) (struct usb_interface *intf, unsigned int code, void *buf); |
560 | 560 | ||
561 | int (*suspend) (struct usb_interface *intf, u32 state); | 561 | int (*suspend) (struct usb_interface *intf, pm_message_t message); |
562 | int (*resume) (struct usb_interface *intf); | 562 | int (*resume) (struct usb_interface *intf); |
563 | 563 | ||
564 | const struct usb_device_id *id_table; | 564 | const struct usb_device_id *id_table; |
@@ -977,7 +977,7 @@ extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, | |||
977 | int timeout); | 977 | int timeout); |
978 | 978 | ||
979 | /* selective suspend/resume */ | 979 | /* selective suspend/resume */ |
980 | extern int usb_suspend_device(struct usb_device *dev, u32 state); | 980 | extern int usb_suspend_device(struct usb_device *dev, pm_message_t message); |
981 | extern int usb_resume_device(struct usb_device *dev); | 981 | extern int usb_resume_device(struct usb_device *dev); |
982 | 982 | ||
983 | 983 | ||