|
@@ -1418,8 +1418,8 @@ show_function (struct device *_dev, struct device_attribute *attr, char *buf)
|
|
}
|
|
}
|
|
static DEVICE_ATTR (function, S_IRUGO, show_function, NULL);
|
|
static DEVICE_ATTR (function, S_IRUGO, show_function, NULL);
|
|
|
|
|
|
-static ssize_t
|
|
|
|
-show_registers (struct device *_dev, struct device_attribute *attr, char *buf)
|
|
|
|
|
|
+static ssize_t net2280_show_registers(struct device *_dev,
|
|
|
|
+ struct device_attribute *attr, char *buf)
|
|
{
|
|
{
|
|
struct net2280 *dev;
|
|
struct net2280 *dev;
|
|
char *next;
|
|
char *next;
|
|
@@ -1571,7 +1571,7 @@ show_registers (struct device *_dev, struct device_attribute *attr, char *buf)
|
|
|
|
|
|
return PAGE_SIZE - size;
|
|
return PAGE_SIZE - size;
|
|
}
|
|
}
|
|
-static DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL);
|
|
|
|
|
|
+static DEVICE_ATTR(registers, S_IRUGO, net2280_show_registers, NULL);
|
|
|
|
|
|
static ssize_t
|
|
static ssize_t
|
|
show_queues (struct device *_dev, struct device_attribute *attr, char *buf)
|
|
show_queues (struct device *_dev, struct device_attribute *attr, char *buf)
|