diff options
-rw-r--r-- | drivers/net/atlx/atl1.c | 2 | ||||
-rw-r--r-- | drivers/net/atlx/atl2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index c0ceee0d7c80..43fc1b2ca3cd 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -105,7 +105,7 @@ | |||
105 | * Default Value: 100 (200us) | 105 | * Default Value: 100 (200us) |
106 | */ | 106 | */ |
107 | static int __devinitdata int_mod_timer[ATL1_MAX_NIC+1] = ATL1_PARAM_INIT; | 107 | static int __devinitdata int_mod_timer[ATL1_MAX_NIC+1] = ATL1_PARAM_INIT; |
108 | static int num_int_mod_timer; | 108 | static unsigned int num_int_mod_timer; |
109 | module_param_array_named(int_mod_timer, int_mod_timer, int, | 109 | module_param_array_named(int_mod_timer, int_mod_timer, int, |
110 | &num_int_mod_timer, 0); | 110 | &num_int_mod_timer, 0); |
111 | MODULE_PARM_DESC(int_mod_timer, "Interrupt moderator timer"); | 111 | MODULE_PARM_DESC(int_mod_timer, "Interrupt moderator timer"); |
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index bc394491b63b..9fe06c3f4097 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c | |||
@@ -2854,7 +2854,7 @@ static void atl2_force_ps(struct atl2_hw *hw) | |||
2854 | #else | 2854 | #else |
2855 | #define ATL2_PARAM(X, desc) \ | 2855 | #define ATL2_PARAM(X, desc) \ |
2856 | static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ | 2856 | static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ |
2857 | static int num_##X = 0; \ | 2857 | static unsigned int num_##X; \ |
2858 | module_param_array_named(X, X, int, &num_##X, 0); \ | 2858 | module_param_array_named(X, X, int, &num_##X, 0); \ |
2859 | MODULE_PARM_DESC(X, desc); | 2859 | MODULE_PARM_DESC(X, desc); |
2860 | #endif | 2860 | #endif |