summaryrefslogtreecommitdiff
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2009-11-07 11:53:52 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-10 20:28:50 -0800
commit34336ec032878d1a32e7df881f16ce2145e53f83 (patch)
tree72fb084316a285f16ffd1a87c7e9e7e803c38c32 /drivers/net/cxgb3/common.h
parent45229b420f90bb6736dfeb7e491eb46cb02a3e9c (diff)
cxgb3: declare MODULE_FIRMWARE
Replace run-time string formatting with preprocessor string manipulation. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 1b2c305fb82b..6ff356d4c7ab 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -125,11 +125,9 @@ enum { /* adapter interrupt-maintained statistics */
IRQ_NUM_STATS /* keep last */
};
-enum {
- TP_VERSION_MAJOR = 1,
- TP_VERSION_MINOR = 1,
- TP_VERSION_MICRO = 0
-};
+#define TP_VERSION_MAJOR 1
+#define TP_VERSION_MINOR 1
+#define TP_VERSION_MICRO 0
#define S_TP_VERSION_MAJOR 16
#define M_TP_VERSION_MAJOR 0xFF