diff options
author | akpm@osdl.org <akpm@osdl.org> | 2005-04-18 20:39:21 -0400 |
---|---|---|
committer | Greg K-H <gregkh@suse.de> | 2005-04-18 20:39:21 -0400 |
commit | 84d79cb8db2811140c911df7ce3e3354cfa018c4 (patch) | |
tree | f51843ea64f867287d846104d87c0cff1295b45c | |
parent | 115c1ce524869309e4bddcfc3dd112ac76b92def (diff) |
[PATCH] USB: usb_cdc build fix
With older gcc's:
In file included from drivers/usb/class/cdc-acm.c:63:
include/linux/usb_cdc.h:117: field `bDetailData' has incomplete type
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff -puN include/linux/usb_cdc.h~usb_cdc-build-fix include/linux/usb_cdc.h
-rw-r--r-- | include/linux/usb_cdc.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 | /*-------------------------------------------------------------------------*/ |