aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/enic.h')
-rw-r--r--drivers/net/enic/enic.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index 81c2adeaa9b8..3588ef5e7e4c 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -34,7 +34,6 @@
34#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Driver" 34#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Driver"
35#define DRV_VERSION "1.4.1.1" 35#define DRV_VERSION "1.4.1.1"
36#define DRV_COPYRIGHT "Copyright 2008-2009 Cisco Systems, Inc" 36#define DRV_COPYRIGHT "Copyright 2008-2009 Cisco Systems, Inc"
37#define PFX DRV_NAME ": "
38 37
39#define ENIC_BARS_MAX 6 38#define ENIC_BARS_MAX 6
40 39
@@ -130,4 +129,9 @@ struct enic {
130 unsigned int cq_count; 129 unsigned int cq_count;
131}; 130};
132 131
132static inline struct device *enic_get_dev(struct enic *enic)
133{
134 return &(enic->pdev->dev);
135}
136
133#endif /* _ENIC_H_ */ 137#endif /* _ENIC_H_ */