diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_spi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 5fbeadd96819..a2715c31e754 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c | |||
@@ -1434,7 +1434,7 @@ static int spi_host_configure(struct transport_container *tc, | |||
1434 | (si->f->show_##name ? S_IRUGO : 0) | \ | 1434 | (si->f->show_##name ? S_IRUGO : 0) | \ |
1435 | (si->f->set_##name ? S_IWUSR : 0) | 1435 | (si->f->set_##name ? S_IWUSR : 0) |
1436 | 1436 | ||
1437 | static mode_t target_attribute_is_visible(struct kobject *kobj, | 1437 | static umode_t target_attribute_is_visible(struct kobject *kobj, |
1438 | struct attribute *attr, int i) | 1438 | struct attribute *attr, int i) |
1439 | { | 1439 | { |
1440 | struct device *cdev = container_of(kobj, struct device, kobj); | 1440 | struct device *cdev = container_of(kobj, struct device, kobj); |