aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:12 +0000
commitc12de7c4c1dd895f32c7acbcfe6e4ca42b39667f (patch)
treeb9540bd7b2a69a845da2c0c62db1e60c12371dd0 /package/mac80211/patches/500-ath9k_eeprom_debugfs.patch
parenteb4fc36bfe80fd744017ca6ba4ebd936b7f189d5 (diff)
downloadupstream-c12de7c4c1dd895f32c7acbcfe6e4ca42b39667f.tar.gz
upstream-c12de7c4c1dd895f32c7acbcfe6e4ca42b39667f.tar.bz2
upstream-c12de7c4c1dd895f32c7acbcfe6e4ca42b39667f.zip
ath9k: add some minor debugfs cleanups
SVN-Revision: 26247
Diffstat (limited to 'package/mac80211/patches/500-ath9k_eeprom_debugfs.patch')
-rw-r--r--package/mac80211/patches/500-ath9k_eeprom_debugfs.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch b/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch
index 0bb7082ef5..632ae96a64 100644
--- a/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch
+++ b/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch
@@ -54,13 +54,12 @@
int ath9k_init_debug(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
-@@ -1151,6 +1198,10 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1151,6 +1198,9 @@ int ath9k_init_debug(struct ath_hw *ah)
debugfs_create_u32("gpio_val", S_IRUSR | S_IWUSR,
sc->debug.debugfs_phy, &sc->sc_ah->gpio_val);
-+ if (!debugfs_create_file("eeprom", S_IRUSR,
-+ sc->debug.debugfs_phy, sc, &fops_eeprom))
-+ goto err;
++ debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
++ &fops_eeprom);
+
sc->debug.regidx = 0;
return 0;