mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: sync ethernet driver changes with trunk to fix MDIO issues on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26672 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -44,8 +44,8 @@ void ag71xx_debugfs_update_int_stats(struct ag71xx *ag, u32 status)
|
||||
static ssize_t read_file_int_stats(struct file *file, char __user *user_buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
#define PR_INT_STAT(_label, _field) \
|
||||
len += snprintf(buf + len, sizeof(buf) - len, \
|
||||
#define PR_INT_STAT(_label, _field) \
|
||||
len += snprintf(buf + len, sizeof(buf) - len, \
|
||||
"%20s: %10lu\n", _label, ag->debug.int_stats._field);
|
||||
|
||||
struct ag71xx *ag = file->private_data;
|
||||
@@ -173,7 +173,7 @@ int ag71xx_debugfs_init(struct ag71xx *ag)
|
||||
|
||||
return 0;
|
||||
|
||||
err:
|
||||
err:
|
||||
ag71xx_debugfs_exit(ag);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user