]> err.no Git - linux-2.6/commitdiff
[IA64] Use new acpi_device_id struct for HID init in ia64/hp/common/sba_iommu.c
authorThomas Renninger <trenn@suse.de>
Fri, 27 Jul 2007 22:38:31 +0000 (15:38 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 27 Jul 2007 22:38:31 +0000 (15:38 -0700)
Forgot to adjust this one with the acpi autoloading patches
in commit 8c8eb78f673c07b60f31751e1e47ac367c60c6b7

Acked-by: Myron Stowe <myron.stowe@hp.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/common/sba_iommu.c

index cd4adf52f174ece99c323b0804f839391b020d61..e980e7aa2306eb52ddc51632b48d97d892157704 100644 (file)
@@ -2015,9 +2015,14 @@ acpi_sba_ioc_add(struct acpi_device *device)
        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 = {
        .name           = "IOC IOMMU Driver",
-       .ids            = "HWP0001,HWP0004",
+       .ids            = hp_ioc_iommu_device_ids,
        .ops            = {
                .add    = acpi_sba_ioc_add,
        },