[RFC PATCH] scsi: ufs: dev_attr_ufs_provision can be static

From: kbuild test robot
Date: Sat Jun 09 2018 - 07:51:13 EST



Fixes: 2f7e32b8cdc9 ("scsi: ufs: Add sysfs support for ufs provision")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
ufs-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/drivers/scsi/ufs/ufs-sysfs.c
index 8b68813..36c28cc 100644
--- a/drivers/scsi/ufs/ufs-sysfs.c
+++ b/drivers/scsi/ufs/ufs-sysfs.c
@@ -264,7 +264,7 @@ static ssize_t ufs_provision_store(struct device *dev,
return ufshcd_desc_config_store(dev, attr, buf, count);
}

-DEVICE_ATTR_RW(ufs_provision);
+static DEVICE_ATTR_RW(ufs_provision);

static struct attribute *ufs_sysfs_config_descriptor[] = {
&dev_attr_ufs_provision.attr,