summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm72xx/gdm_wimax.h
diff options
context:
space:
mode:
authorMichalis Pappas <mpappas@fastmail.fm>2014-05-09 10:08:28 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-16 19:12:52 (GMT)
commitac1a3bfafb66d51be061c341f05f283d38d2e22f (patch)
tree6add8bd1dc8b66b8071d783dfc8901e0baa05b44 /drivers/staging/gdm72xx/gdm_wimax.h
parent39c511f8cb90be18f12575e5bdaf566a5e9a56b5 (diff)
downloadlinux-ac1a3bfafb66d51be061c341f05f283d38d2e22f.tar.xz
staging: gdm72xx: Indentation and other whitespace fixes
Signed-off-by: Michalis Pappas <mpappas@fastmail.fm> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm72xx/gdm_wimax.h')
-rw-r--r--drivers/staging/gdm72xx/gdm_wimax.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/drivers/staging/gdm72xx/gdm_wimax.h b/drivers/staging/gdm72xx/gdm_wimax.h
index 21087c03..7e2c888 100644
--- a/drivers/staging/gdm72xx/gdm_wimax.h
+++ b/drivers/staging/gdm72xx/gdm_wimax.h
@@ -34,28 +34,23 @@
#define DB2H(x) __be32_to_cpu(x)
struct phy_dev {
- void *priv_dev;
+ void *priv_dev;
struct net_device *netdev;
-
- int (*send_func)(void *priv_dev, void *data, int len,
- void (*cb)(void *cb_data), void *cb_data);
- int (*rcv_func)(void *priv_dev,
- void (*cb)(void *cb_data, void *data, int len),
- void *cb_data);
+ int (*send_func)(void *priv_dev, void *data, int len,
+ void (*cb)(void *cb_data), void *cb_data);
+ int (*rcv_func)(void *priv_dev,
+ void (*cb)(void *cb_data, void *data, int len),
+ void *cb_data);
};
struct nic {
struct net_device *netdev;
struct phy_dev *phy_dev;
-
struct net_device_stats stats;
-
- struct data_s sdk_data[SIOC_DATA_MAX];
-
+ struct data_s sdk_data[SIOC_DATA_MAX];
#if defined(CONFIG_WIMAX_GDM72XX_QOS)
- struct qos_cb_s qos;
+ struct qos_cb_s qos;
#endif
-
};
int register_wimax_device(struct phy_dev *phy_dev, struct device *pdev);