aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bay.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/bay.c')
-rw-r--r--drivers/acpi/bay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index 6daf6088ac88..0c81294ac489 100644
--- a/drivers/acpi/bay.c
+++ b/drivers/acpi/bay.c
@@ -128,7 +128,7 @@ static ssize_t show_present(struct device *dev,
128 return snprintf(buf, PAGE_SIZE, "%d\n", bay_present(bay)); 128 return snprintf(buf, PAGE_SIZE, "%d\n", bay_present(bay));
129 129
130} 130}
131DEVICE_ATTR(present, S_IRUGO, show_present, NULL); 131static DEVICE_ATTR(present, S_IRUGO, show_present, NULL);
132 132
133/* 133/*
134 * write_eject - write method for "eject" file in sysfs 134 * write_eject - write method for "eject" file in sysfs
@@ -144,7 +144,7 @@ static ssize_t write_eject(struct device *dev, struct device_attribute *attr,
144 eject_device(bay->handle); 144 eject_device(bay->handle);
145 return count; 145 return count;
146} 146}
147DEVICE_ATTR(eject, S_IWUSR, NULL, write_eject); 147static DEVICE_ATTR(eject, S_IWUSR, NULL, write_eject);
148 148
149/** 149/**
150 * is_ata - see if a device is an ata device 150 * is_ata - see if a device is an ata device