tree f51843ea64f867287d846104d87c0cff1295b45c
parent 115c1ce524869309e4bddcfc3dd112ac76b92def
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Tue, 19 Apr 2005 07:39:21 -0700
committer Greg K-H <[EMAIL PROTECTED]> Tue, 19 Apr 2005 07:39:21 -0700

[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 <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

diff -puN include/linux/usb_cdc.h~usb_cdc-build-fix include/linux/usb_cdc.h

 linux/usb_cdc.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: include/linux/usb_cdc.h
===================================================================
--- 23d1ffa294e6d673e50ec1dd31c48fabaed34e4e/include/linux/usb_cdc.h  
(mode:100644 sha1:1b68c122279a82826aea36f02c80edb2fed384b6)
+++ f51843ea64f867287d846104d87c0cff1295b45c/include/linux/usb_cdc.h  
(mode:100644 sha1:f22d6beecc73172309bdf22b6ddbb4be2f1b51c8)
@@ -114,7 +114,7 @@
 
        /* type is associated with mdlm_desc.bGUID */
        __u8    bGuidDescriptorType;
-       __u8    bDetailData[];
+       __u8    bDetailData[0];
 } __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to