aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 10:28:57 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 10:28:57 -0400
commita9e4820c4c170b3df0d2185f7b4130b0b2daed2c (patch)
tree962bc52ba0e8e585d88e1fb9a9be9a67072767dd /include
parentc0698f2f6e4839ce9463ce731c892993215ea067 (diff)
parente838a0d4d5260bce452c96914a6e86b217c53c55 (diff)
Merge with Greg's USB tree at kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/
Yah, it does work to merge. Knock wood.
Diffstat (limited to 'include')
-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/*-------------------------------------------------------------------------*/