Browse Source

netxen: fix sparse warning

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Amit Kumar Salecha 15 years ago
parent
commit
1954dc1177
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/netxen/netxen_nic_main.c

+ 1 - 1
drivers/net/netxen/netxen_nic_main.c

@@ -2596,7 +2596,7 @@ netxen_sysfs_read_mem(struct kobject *kobj, struct bin_attribute *attr,
 	return size;
 	return size;
 }
 }
 
 
-ssize_t netxen_sysfs_write_mem(struct kobject *kobj,
+static ssize_t netxen_sysfs_write_mem(struct kobject *kobj,
 		struct bin_attribute *attr, char *buf,
 		struct bin_attribute *attr, char *buf,
 		loff_t offset, size_t size)
 		loff_t offset, size_t size)
 {
 {