aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h4
-rw-r--r--include/linux/usb_cdc.h2
2 files changed, 3 insertions, 3 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 */
980extern int usb_suspend_device(struct usb_device *dev, u32 state); 980extern int usb_suspend_device(struct usb_device *dev, pm_message_t message);
981extern int usb_resume_device(struct usb_device *dev); 981extern int usb_resume_device(struct usb_device *dev);
982 982
983 983
diff --git a/include/linux/usb_cdc.h b/include/linux/usb_cdc.h
index 1b68c122279a..f22d6beecc73 100644
--- a/include/linux/usb_cdc.h
+++ b/include/linux/usb_cdc.h
@@ -114,7 +114,7 @@ struct usb_cdc_mdlm_detail_desc {
114 114
115 /* type is associated with mdlm_desc.bGUID */ 115 /* type is associated with mdlm_desc.bGUID */
116 __u8 bGuidDescriptorType; 116 __u8 bGuidDescriptorType;
117 __u8 bDetailData[]; 117 __u8 bDetailData[0];
118} __attribute__ ((packed)); 118} __attribute__ ((packed));
119 119
120/*-------------------------------------------------------------------------*/ 120/*-------------------------------------------------------------------------*/