Commit 7091138f authored by Thomas Renninger's avatar Thomas Renninger Committed by Tony Luck

[IA64] Use new acpi_device_id struct for HID init in ia64/hp/common/sba_iommu.c

Forgot to adjust this one with the acpi autoloading patches
in commit 8c8eb78fAcked-by: default avatarMyron Stowe <myron.stowe@hp.com>
Acked-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 074ff856
...@@ -2015,9 +2015,14 @@ acpi_sba_ioc_add(struct acpi_device *device) ...@@ -2015,9 +2015,14 @@ acpi_sba_ioc_add(struct acpi_device *device)
return 0; return 0;
} }
static const struct acpi_device_id hp_ioc_iommu_device_ids[] = {
{"HWP0001", 0},
{"HWP0004", 0},
{"", 0},
};
static struct acpi_driver acpi_sba_ioc_driver = { static struct acpi_driver acpi_sba_ioc_driver = {
.name = "IOC IOMMU Driver", .name = "IOC IOMMU Driver",
.ids = "HWP0001,HWP0004", .ids = hp_ioc_iommu_device_ids,
.ops = { .ops = {
.add = acpi_sba_ioc_add, .add = acpi_sba_ioc_add,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment