ath6kl: fix uninitialized variable in ath6kl_sdio_enable_scatter()
[pandora-kernel.git] / drivers / acpi / acpi_memhotplug.c
index d985713..f81597f 100644 (file)
@@ -421,6 +421,7 @@ static int acpi_memory_device_add(struct acpi_device *device)
        /* Get the range from the _CRS */
        result = acpi_memory_get_device_resources(mem_device);
        if (result) {
+               device->driver_data = NULL;
                kfree(mem_device);
                return result;
        }