Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cdc: add header guards

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Stephen Rothwell and committed by
David S. Miller
b84ee0d7 d5566fd7

+7 -3
+4
include/linux/usb/cdc.h
··· 7 7 * modify it under the terms of the GNU General Public License 8 8 * version 2 as published by the Free Software Foundation. 9 9 */ 10 + #ifndef __LINUX_USB_CDC_H 11 + #define __LINUX_USB_CDC_H 10 12 11 13 #include <uapi/linux/usb/cdc.h> 12 14 ··· 47 45 struct usb_interface *intf, 48 46 u8 *buffer, 49 47 int buflen); 48 + 49 + #endif /* __LINUX_USB_CDC_H */
+3 -3
include/uapi/linux/usb/cdc.h
··· 6 6 * firmware based USB peripherals. 7 7 */ 8 8 9 - #ifndef __LINUX_USB_CDC_H 10 - #define __LINUX_USB_CDC_H 9 + #ifndef __UAPI_LINUX_USB_CDC_H 10 + #define __UAPI_LINUX_USB_CDC_H 11 11 12 12 #include <linux/types.h> 13 13 ··· 444 444 #define USB_CDC_NCM_CRC_NOT_APPENDED 0x00 445 445 #define USB_CDC_NCM_CRC_APPENDED 0x01 446 446 447 - #endif /* __LINUX_USB_CDC_H */ 447 + #endif /* __UAPI_LINUX_USB_CDC_H */