mt7601u: use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops
[linux-2.6-microblaze.git] / drivers / net / wireless / mediatek / mt7601u / debugfs.c
index 5e54983..300242b 100644 (file)
@@ -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)