Commit eb30a973 authored by David S. Miller's avatar David S. Miller

[ATM]: Fix build after netdev sysfs changes.

parent 95b9d2db
...@@ -75,7 +75,7 @@ static void add_stats(char *buf,const char *aal, ...@@ -75,7 +75,7 @@ static void add_stats(char *buf,const char *aal,
} }
static void dev_info(const struct atm_dev *dev,char *buf) static void atm_dev_info(const struct atm_dev *dev,char *buf)
{ {
int off,i; int off,i;
...@@ -319,7 +319,7 @@ static int atm_devices_info(loff_t pos,char *buf) ...@@ -319,7 +319,7 @@ static int atm_devices_info(loff_t pos,char *buf)
list_for_each(p, &atm_devs) { list_for_each(p, &atm_devs) {
dev = list_entry(p, struct atm_dev, dev_list); dev = list_entry(p, struct atm_dev, dev_list);
if (left-- == 0) { if (left-- == 0) {
dev_info(dev,buf); atm_dev_info(dev,buf);
spin_unlock(&atm_dev_lock); spin_unlock(&atm_dev_lock);
return strlen(buf); return strlen(buf);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment