aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/atl1e/atl1e.h2
-rw-r--r--drivers/net/atl1e/atl1e_param.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atl1e/atl1e.h b/drivers/net/atl1e/atl1e.h
index c49550d507a0..2bf63b4368e2 100644
--- a/drivers/net/atl1e/atl1e.h
+++ b/drivers/net/atl1e/atl1e.h
@@ -448,7 +448,7 @@ struct atl1e_adapter {
448 /* All Descriptor memory */ 448 /* All Descriptor memory */
449 dma_addr_t ring_dma; 449 dma_addr_t ring_dma;
450 void *ring_vir_addr; 450 void *ring_vir_addr;
451 int ring_size; 451 u32 ring_size;
452 452
453 struct atl1e_tx_ring tx_ring; 453 struct atl1e_tx_ring tx_ring;
454 struct atl1e_rx_ring rx_ring; 454 struct atl1e_rx_ring rx_ring;
diff --git a/drivers/net/atl1e/atl1e_param.c b/drivers/net/atl1e/atl1e_param.c
index f72abb34b0cd..b3be59fd3fb5 100644
--- a/drivers/net/atl1e/atl1e_param.c
+++ b/drivers/net/atl1e/atl1e_param.c
@@ -41,7 +41,7 @@
41 41
42#define ATL1E_PARAM(x, desc) \ 42#define ATL1E_PARAM(x, desc) \
43 static int __devinitdata x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \ 43 static int __devinitdata x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \
44 static int num_##x; \ 44 static unsigned int num_##x; \
45 module_param_array_named(x, x, int, &num_##x, 0); \ 45 module_param_array_named(x, x, int, &num_##x, 0); \
46 MODULE_PARM_DESC(x, desc); 46 MODULE_PARM_DESC(x, desc);
47 47