diff options
author | Ben Chan <benchan@chromium.org> | 2014-06-30 22:13:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 11:49:15 -0700 |
commit | bbd500d8cdb071e7964fc07ab988817d719e1578 (patch) | |
tree | 38489f50bae8f9a8038cd86d9e88d41015401f53 /drivers | |
parent | 6de2a1a7b9e22b267024e9adbb12360ef8139669 (diff) |
staging: gdm72xx: use consistent style for header guards
Signed-off-by: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/gdm72xx/gdm_qos.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/gdm_sdio.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/gdm_usb.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/gdm_wimax.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/hci.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/netlink_k.h | 7 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/sdio_boot.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/usb_boot.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/usb_ids.h | 6 | ||||
-rw-r--r-- | drivers/staging/gdm72xx/wm_ioctl.h | 7 |
10 files changed, 32 insertions, 30 deletions
diff --git a/drivers/staging/gdm72xx/gdm_qos.h b/drivers/staging/gdm72xx/gdm_qos.h index 8f742f320f22..bbc8aab338b5 100644 --- a/drivers/staging/gdm72xx/gdm_qos.h +++ b/drivers/staging/gdm72xx/gdm_qos.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#if !defined(GDM_QOS_H_20090403) -#define GDM_QOS_H_20090403 +#ifndef __GDM72XX_GDM_QOS_H__ +#define __GDM72XX_GDM_QOS_H__ #include <linux/types.h> #include <linux/usb.h> @@ -71,4 +71,4 @@ void gdm_qos_release_list(void *nic_ptr); int gdm_qos_send_hci_pkt(struct sk_buff *skb, struct net_device *dev); void gdm_recv_qos_hci_packet(void *nic_ptr, u8 *buf, int size); -#endif +#endif /* __GDM72XX_GDM_QOS_H__ */ diff --git a/drivers/staging/gdm72xx/gdm_sdio.h b/drivers/staging/gdm72xx/gdm_sdio.h index 0c0e2cbb727e..77ad9d686f8e 100644 --- a/drivers/staging/gdm72xx/gdm_sdio.h +++ b/drivers/staging/gdm72xx/gdm_sdio.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef __GDM_SDIO_H__ -#define __GDM_SDIO_H__ +#ifndef __GDM72XX_GDM_SDIO_H__ +#define __GDM72XX_GDM_SDIO_H__ #include <linux/types.h> #include <linux/time.h> @@ -60,4 +60,4 @@ struct sdiowm_dev { struct work_struct ws; }; -#endif /* __GDM_SDIO_H__ */ +#endif /* __GDM72XX_GDM_SDIO_H__ */ diff --git a/drivers/staging/gdm72xx/gdm_usb.h b/drivers/staging/gdm72xx/gdm_usb.h index 30506529a8cc..8e58a25e7143 100644 --- a/drivers/staging/gdm72xx/gdm_usb.h +++ b/drivers/staging/gdm72xx/gdm_usb.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef __GDM_USB_H__ -#define __GDM_USB_H__ +#ifndef __GDM72XX_GDM_USB_H__ +#define __GDM72XX_GDM_USB_H__ #include <linux/types.h> #include <linux/usb.h> @@ -75,4 +75,4 @@ struct usbwm_dev { int padding; }; -#endif /* __GDM_USB_H__ */ +#endif /* __GDM72XX_GDM_USB_H__ */ diff --git a/drivers/staging/gdm72xx/gdm_wimax.h b/drivers/staging/gdm72xx/gdm_wimax.h index 7e2c88877ed0..c640d2cc50ff 100644 --- a/drivers/staging/gdm72xx/gdm_wimax.h +++ b/drivers/staging/gdm72xx/gdm_wimax.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef __GDM_WIMAX_H__ -#define __GDM_WIMAX_H__ +#ifndef __GDM72XX_GDM_WIMAX_H__ +#define __GDM72XX_GDM_WIMAX_H__ #include <linux/netdevice.h> #include <linux/types.h> @@ -57,4 +57,4 @@ int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev); int gdm_wimax_send_tx(struct sk_buff *skb, struct net_device *dev); void unregister_wimax_device(struct phy_dev *phy_dev); -#endif +#endif /* __GDM72XX_GDM_WIMAX_H__ */ diff --git a/drivers/staging/gdm72xx/hci.h b/drivers/staging/gdm72xx/hci.h index 059ba0021d47..ff6941eb7646 100644 --- a/drivers/staging/gdm72xx/hci.h +++ b/drivers/staging/gdm72xx/hci.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef HCI_H_20080801 -#define HCI_H_20080801 +#ifndef __GDM72XX_HCI_H__ +#define __GDM72XX_HCI_H__ #define HCI_HEADER_SIZE 4 #define HCI_VALUE_OFFS (HCI_HEADER_SIZE) @@ -204,4 +204,4 @@ struct hci_s { unsigned char data[0]; } __packed; -#endif +#endif /* __GDM72XX_HCI_H__ */ diff --git a/drivers/staging/gdm72xx/netlink_k.h b/drivers/staging/gdm72xx/netlink_k.h index b6caac16b3d3..1fe7198d539e 100644 --- a/drivers/staging/gdm72xx/netlink_k.h +++ b/drivers/staging/gdm72xx/netlink_k.h @@ -11,8 +11,9 @@ * GNU General Public License for more details. */ -#if !defined(NETLINK_H_20081202) -#define NETLINK_H_20081202 +#ifndef __GDM72XX_NETLINK_K_H__ +#define __GDM72XX_NETLINK_K_H__ + #include <linux/netdevice.h> #include <net/sock.h> @@ -21,4 +22,4 @@ struct sock *netlink_init(int unit, void (*cb)(struct net_device *dev, u16 type, void netlink_exit(struct sock *sock); int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len); -#endif +#endif /* __GDM72XX_NETLINK_K_H__ */ diff --git a/drivers/staging/gdm72xx/sdio_boot.h b/drivers/staging/gdm72xx/sdio_boot.h index 045c1f450539..e0800c6fe2fd 100644 --- a/drivers/staging/gdm72xx/sdio_boot.h +++ b/drivers/staging/gdm72xx/sdio_boot.h @@ -11,11 +11,11 @@ * GNU General Public License for more details. */ -#ifndef __SDIO_BOOT_H__ -#define __SDIO_BOOT_H__ +#ifndef __GDM72XX_SDIO_BOOT_H__ +#define __GDM72XX_SDIO_BOOT_H__ struct sdio_func; int sdio_boot(struct sdio_func *func); -#endif /* __SDIO_BOOT_H__ */ +#endif /* __GDM72XX_SDIO_BOOT_H__ */ diff --git a/drivers/staging/gdm72xx/usb_boot.h b/drivers/staging/gdm72xx/usb_boot.h index 05308e253050..5bf7190377e2 100644 --- a/drivers/staging/gdm72xx/usb_boot.h +++ b/drivers/staging/gdm72xx/usb_boot.h @@ -11,12 +11,12 @@ * GNU General Public License for more details. */ -#ifndef __USB_BOOT_H__ -#define __USB_BOOT_H__ +#ifndef __GDM72XX_USB_BOOT_H__ +#define __GDM72XX_USB_BOOT_H__ struct usb_device; int usb_boot(struct usb_device *usbdev, u16 pid); int usb_emergency(struct usb_device *usbdev); -#endif /* __USB_BOOT_H__ */ +#endif /* __GDM72XX_USB_BOOT_H__ */ diff --git a/drivers/staging/gdm72xx/usb_ids.h b/drivers/staging/gdm72xx/usb_ids.h index 1a61b3599765..8ce544de7342 100644 --- a/drivers/staging/gdm72xx/usb_ids.h +++ b/drivers/staging/gdm72xx/usb_ids.h @@ -11,8 +11,8 @@ * GNU General Public License for more details. */ -#ifndef __USB_IDS_H__ -#define __USB_IDS_H__ +#ifndef __GDM72XX_USB_IDS_H__ +#define __GDM72XX_USB_IDS_H__ /*You can replace vendor-ID as yours.*/ #define GCT_VID 0x1076 @@ -79,4 +79,4 @@ static const struct usb_device_id id_table[] = { { } }; -#endif /* __USB_IDS_H__ */ +#endif /* __GDM72XX_USB_IDS_H__ */ diff --git a/drivers/staging/gdm72xx/wm_ioctl.h b/drivers/staging/gdm72xx/wm_ioctl.h index d022c6ca0e23..ed8f649c0042 100644 --- a/drivers/staging/gdm72xx/wm_ioctl.h +++ b/drivers/staging/gdm72xx/wm_ioctl.h @@ -11,8 +11,9 @@ * GNU General Public License for more details. */ -#if !defined(WM_IOCTL_H_20080714) -#define WM_IOCTL_H_20080714 +#ifndef __GDM72XX_WM_IOCTL_H__ +#define __GDM72XX_WM_IOCTL_H__ + #if !defined(__KERNEL__) #include <net/if.h> #endif @@ -92,4 +93,4 @@ struct wm_req_s { #define ifr_name ifr_ifrn.ifrn_name #endif -#endif +#endif /* __GDM72XX_WM_IOCTL_H__ */ |