mac80211: remove module handling from rate control ops
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / iwlegacy / 3945-rs.c
index aea667b430c3ac7e70295562f33de2227813a198..76b0729ade17ee2d18cc42df934f286762c2c155 100644 (file)
@@ -25,7 +25,6 @@
  *****************************************************************************/
 
 #include <linux/kernel.h>
-#include <linux/init.h>
 #include <linux/skbuff.h>
 #include <linux/slab.h>
 #include <net/mac80211.h>
@@ -892,8 +891,7 @@ il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
 {
 }
 
-static struct rate_control_ops rs_ops = {
-       .module = NULL,
+static const struct rate_control_ops rs_ops = {
        .name = RS_NAME,
        .tx_status = il3945_rs_tx_status,
        .get_rate = il3945_rs_get_rate,