diff options
Diffstat (limited to 'drivers/acpi/bay.c')
-rw-r--r-- | drivers/acpi/bay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c index 667fa1dfa1a3..91082ce6f5d1 100644 --- a/drivers/acpi/bay.c +++ b/drivers/acpi/bay.c | |||
@@ -296,7 +296,7 @@ static int bay_add(acpi_handle handle, int id) | |||
296 | /* | 296 | /* |
297 | * Initialize bay device structure | 297 | * Initialize bay device structure |
298 | */ | 298 | */ |
299 | new_bay = kzalloc(GFP_ATOMIC, sizeof(*new_bay)); | 299 | new_bay = kzalloc(sizeof(*new_bay), GFP_ATOMIC); |
300 | INIT_LIST_HEAD(&new_bay->list); | 300 | INIT_LIST_HEAD(&new_bay->list); |
301 | new_bay->handle = handle; | 301 | new_bay->handle = handle; |
302 | new_bay->name = (char *)nbuffer.pointer; | 302 | new_bay->name = (char *)nbuffer.pointer; |