projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mt7601u: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
[linux-2.6-microblaze.git]
/
drivers
/
net
/
wireless
/
mediatek
/
mt7601u
/
debugfs.c
diff --git
a/drivers/net/wireless/mediatek/mt7601u/debugfs.c
b/drivers/net/wireless/mediatek/mt7601u/debugfs.c
index
5e54983
..
300242b
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt7601u/debugfs.c
+++ b/
drivers/net/wireless/mediatek/mt7601u/debugfs.c
@@
-27,7
+27,7
@@
mt76_reg_get(void *data, u64 *val)
return 0;
}
-DEFINE_
SIMPLE
_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
+DEFINE_
DEBUGFS
_ATTRIBUTE(fops_regval, mt76_reg_get, mt76_reg_set, "0x%08llx\n");
static int
mt7601u_ampdu_stat_read(struct seq_file *file, void *data)