From: Thomas Renninger Date: Fri, 27 Jul 2007 22:38:31 +0000 (-0700) Subject: [IA64] Use new acpi_device_id struct for HID init in ia64/hp/common/sba_iommu.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7091138fb762aed22317b4ff91eb211e7da3865c;p=openwrt%2Fstaging%2Fblogic.git [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 8c8eb78f673c07b60f31751e1e47ac367c60c6b7 Acked-by: Myron Stowe Acked-by: Len Brown Signed-off-by: Thomas Renninger Signed-off-by: Tony Luck --- diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c index cd4adf52f174..e980e7aa2306 100644 --- a/arch/ia64/hp/common/sba_iommu.c +++ b/arch/ia64/hp/common/sba_iommu.c @@ -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, },