From: Jingoo Han Subject: [PATCH] xen: platform-pci: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:48:02 +0900 Message-ID: <004f01ceebec$a35d4110$ea17c330$%han@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VlsaH-0004sM-7r for xen-devel@lists.xenproject.org; Thu, 28 Nov 2013 03:48:09 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY002VQFW2SO50@mailout3.samsung.com> for xen-devel@lists.xenproject.org; Thu, 28 Nov 2013 12:48:02 +0900 (KST) Content-language: ko List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 'Konrad Rzeszutek Wilk' Cc: xen-devel@lists.xenproject.org, 'Boris Ostrovsky' , 'Jingoo Han' , 'David Vrabel' List-Id: xen-devel@lists.xenproject.org This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/xen/platform-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c index 2f3528e..7ab5e81 100644 --- a/drivers/xen/platform-pci.c +++ b/drivers/xen/platform-pci.c @@ -170,7 +170,7 @@ pci_out: return ret; } -static struct pci_device_id platform_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(platform_pci_tbl) = { {PCI_VENDOR_ID_XEN, PCI_DEVICE_ID_XEN_PLATFORM, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {0,} -- 1.7.10.4