aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/sgi_hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/sgi_hotplug.c')
-rw-r--r--drivers/pci/hotplug/sgi_hotplug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c
index d748698e31a2..3eee70928d45 100644
--- a/drivers/pci/hotplug/sgi_hotplug.c
+++ b/drivers/pci/hotplug/sgi_hotplug.c
@@ -413,7 +413,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot)
413 /* 413 /*
414 * Add the slot's devices to the ACPI infrastructure */ 414 * Add the slot's devices to the ACPI infrastructure */
415 if (SN_ACPI_BASE_SUPPORT() && ssdt) { 415 if (SN_ACPI_BASE_SUPPORT() && ssdt) {
416 unsigned long adr; 416 unsigned long long adr;
417 struct acpi_device *pdevice; 417 struct acpi_device *pdevice;
418 struct acpi_device *device; 418 struct acpi_device *device;
419 acpi_handle phandle; 419 acpi_handle phandle;
@@ -505,7 +505,7 @@ static int disable_slot(struct hotplug_slot *bss_hotplug_slot)
505 /* free the ACPI resources for the slot */ 505 /* free the ACPI resources for the slot */
506 if (SN_ACPI_BASE_SUPPORT() && 506 if (SN_ACPI_BASE_SUPPORT() &&
507 PCI_CONTROLLER(slot->pci_bus)->acpi_handle) { 507 PCI_CONTROLLER(slot->pci_bus)->acpi_handle) {
508 unsigned long adr; 508 unsigned long long adr;
509 struct acpi_device *device; 509 struct acpi_device *device;
510 acpi_handle phandle; 510 acpi_handle phandle;
511 acpi_handle chandle = NULL; 511 acpi_handle chandle = NULL;