diff options
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index 9d2051aeb782..aaa2699e5a8c 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c | |||
@@ -1918,13 +1918,13 @@ static int carl9170_parse_eeprom(struct ar9170 *ar) | |||
1918 | return 0; | 1918 | return 0; |
1919 | } | 1919 | } |
1920 | 1920 | ||
1921 | static int carl9170_reg_notifier(struct wiphy *wiphy, | 1921 | static void carl9170_reg_notifier(struct wiphy *wiphy, |
1922 | struct regulatory_request *request) | 1922 | struct regulatory_request *request) |
1923 | { | 1923 | { |
1924 | struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); | 1924 | struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); |
1925 | struct ar9170 *ar = hw->priv; | 1925 | struct ar9170 *ar = hw->priv; |
1926 | 1926 | ||
1927 | return ath_reg_notifier_apply(wiphy, request, &ar->common.regulatory); | 1927 | ath_reg_notifier_apply(wiphy, request, &ar->common.regulatory); |
1928 | } | 1928 | } |
1929 | 1929 | ||
1930 | int carl9170_register(struct ar9170 *ar) | 1930 | int carl9170_register(struct ar9170 *ar) |