aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 927998aa5e71..a968d8549ee5 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -1144,7 +1144,7 @@ static acpi_status acpi_spi_add_device(acpi_handle handle, u32 level,
1144 return AE_NO_MEMORY; 1144 return AE_NO_MEMORY;
1145 } 1145 }
1146 1146
1147 ACPI_HANDLE_SET(&spi->dev, handle); 1147 ACPI_COMPANION_SET(&spi->dev, adev);
1148 spi->irq = -1; 1148 spi->irq = -1;
1149 1149
1150 INIT_LIST_HEAD(&resource_list); 1150 INIT_LIST_HEAD(&resource_list);