Commit bbd500d8 authored by Ben Chan's avatar Ben Chan Committed by Greg Kroah-Hartman

staging: gdm72xx: use consistent style for header guards

Signed-off-by: default avatarBen Chan <benchan@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6de2a1a7
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment