DRIVER_ATTR add_host made static
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 21 Nov 2008 10:16:34 +0000 (10:16 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 21 Nov 2008 10:16:34 +0000 (10:16 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@580 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst_local/scst_local.c

index 714d26e..b5ea889 100644 (file)
@@ -236,7 +236,7 @@ static ssize_t scst_local_add_host_store(struct device_driver *ddp,
        return count;
 }
 
-DRIVER_ATTR(add_host, S_IRUGO | S_IWUSR, scst_local_add_host_show,
+static DRIVER_ATTR(add_host, S_IRUGO | S_IWUSR, scst_local_add_host_show,
            scst_local_add_host_store);
 
 static int do_create_driverfs_files(void)