netxen: fix sparse warning
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 14 Jan 2010 01:53:24 +0000 (01:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jan 2010 09:37:25 +0000 (01:37 -0800)
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c

index e5bdd4d..076f826 100644 (file)
@@ -2596,7 +2596,7 @@ netxen_sysfs_read_mem(struct kobject *kobj, struct bin_attribute *attr,
        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,
                loff_t offset, size_t size)
 {