From patchwork Thu Nov 18 13:52:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Assmann X-Patchwork-Id: 336221 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAIDrQoR011136 for ; Thu, 18 Nov 2010 13:53:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757981Ab0KRNxZ (ORCPT ); Thu, 18 Nov 2010 08:53:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48945 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757965Ab0KRNxZ (ORCPT ); Thu, 18 Nov 2010 08:53:25 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAIDqCnH017448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Nov 2010 08:52:12 -0500 Received: from localhost6.localdomain6 ([10.3.112.18]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oAIDq8Aj021155; Thu, 18 Nov 2010 08:52:10 -0500 Date: Thu, 18 Nov 2010 08:52:08 -0500 From: Stefan Assmann To: linux-pci@vger.kernel.org Cc: lenb@kernel.org, JBeulich@novell.com, linux-acpi@vger.kernel.org, Stefan Assmann , mingo@elte.hu, Olaf.Dabrunz@gmx.net, tglx@linutronix.de, bjorn.helgaas@hp.com Message-Id: <20101118135217.2269.81600.sendpatchset@localhost6.localdomain6> In-Reply-To: <20101118135207.2269.2593.sendpatchset@localhost6.localdomain6> References: <20101118135207.2269.2593.sendpatchset@localhost6.localdomain6> Subject: [PATCH 1/4] ACPI: move struct acpi_prt_entry to actbl1.h X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 18 Nov 2010 13:53:26 +0000 (UTC) diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index f907cfb..3bc2164 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c @@ -45,14 +45,6 @@ #define _COMPONENT ACPI_PCI_COMPONENT ACPI_MODULE_NAME("pci_irq"); -struct acpi_prt_entry { - struct list_head list; - struct acpi_pci_id id; - u8 pin; - acpi_handle link; - u32 index; /* GSI, or link _CRS index */ -}; - static LIST_HEAD(acpi_prt_list); static DEFINE_SPINLOCK(acpi_prt_lock); diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index c637b75..bbc46ed 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -752,6 +752,16 @@ struct acpi_madt_local_x2apic_nmi { u8 reserved[3]; }; +/* _PRT entry */ + +struct acpi_prt_entry { + struct list_head list; + struct acpi_pci_id id; + u8 pin; + acpi_handle link; + u32 index; /* GSI, or link _CRS index */ +}; + /* * Common flags fields for MADT subtables */