summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-16 22:19:43 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 11:59:32 +0200
commit5daab96d873721cb84f4583f232b88fcd67c51fb (patch)
treed947a060c590db080f68cfd4d3f405a037b9f670 /drivers/net/sfc/net_driver.h
parentsfc: Use __packed macro (diff)
downloadlinux-5daab96d873721cb84f4583f232b88fcd67c51fb.tar.xz
linux-5daab96d873721cb84f4583f232b88fcd67c51fb.zip
sfc: Change type of efx_nic::nic_data to struct falcon_nic_data *
Remove redundant casts and variable. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index be09180ca39d..f4757e16484b 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -705,7 +705,7 @@ struct efx_nic {
unsigned n_rx_nodesc_drop_cnt;
- void *nic_data;
+ struct falcon_nic_data *nic_data;
struct mutex mac_lock;
int port_enabled;