diff options
Diffstat (limited to 'drivers/acpi/bay.c')
-rw-r--r-- | drivers/acpi/bay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c index 477711435b24..1fa86811b8ee 100644 --- a/drivers/acpi/bay.c +++ b/drivers/acpi/bay.c | |||
@@ -134,7 +134,7 @@ static ssize_t show_present(struct device *dev, | |||
134 | return snprintf(buf, PAGE_SIZE, "%d\n", bay_present(bay)); | 134 | return snprintf(buf, PAGE_SIZE, "%d\n", bay_present(bay)); |
135 | 135 | ||
136 | } | 136 | } |
137 | DEVICE_ATTR(present, S_IRUGO, show_present, NULL); | 137 | static DEVICE_ATTR(present, S_IRUGO, show_present, NULL); |
138 | 138 | ||
139 | /* | 139 | /* |
140 | * write_eject - write method for "eject" file in sysfs | 140 | * write_eject - write method for "eject" file in sysfs |
@@ -150,7 +150,7 @@ static ssize_t write_eject(struct device *dev, struct device_attribute *attr, | |||
150 | eject_device(bay->handle); | 150 | eject_device(bay->handle); |
151 | return count; | 151 | return count; |
152 | } | 152 | } |
153 | DEVICE_ATTR(eject, S_IWUSR, NULL, write_eject); | 153 | static DEVICE_ATTR(eject, S_IWUSR, NULL, write_eject); |
154 | 154 | ||
155 | /** | 155 | /** |
156 | * is_ata - see if a device is an ata device | 156 | * is_ata - see if a device is an ata device |