From patchwork Thu Nov 28 03:23:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251531 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3170E9F3B8 for ; Thu, 28 Nov 2013 03:23:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68223205F5 for ; Thu, 28 Nov 2013 03:23:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 72161205F4 for ; Thu, 28 Nov 2013 03:23:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754154Ab3K1DXN (ORCPT ); Wed, 27 Nov 2013 22:23:13 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:52566 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755934Ab3K1DXM (ORCPT ); Wed, 27 Nov 2013 22:23:12 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00LZ8EQI9T00@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:23:06 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id F3.27.18608.A17B6925; Thu, 28 Nov 2013 12:23:06 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-18-5296b71ae7e1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 69.B7.31284.917B6925; Thu, 28 Nov 2013 12:23:06 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWY00A4ZEQHHO40@mmp2.samsung.com>; Thu, 28 Nov 2013 12:23:05 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Antonino Daplas' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 11/28] video: i810fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:23:05 +0900 Message-id: <003301ceebe9$27400f20$75c02d60$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAVFMw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJIsWRmVeSWpSXmKPExsVy+t8zY12p7dOCDBpvsFr87P7CZnF54SVW ixN9H1gt1j18wWSxfv4tNgdWj52z7rJ7vLpwh8Wjb8sqRo/jN7YzeXzeJBfAGsVlk5Kak1mW WqRvl8CV8fD4X5aCNWwVu1/OYmpgXM3axcjJISFgIrHuxTooW0ziwr31bF2MXBxCAssYJZb/ e8QEU9S+ehETRGI6o8TH/mvMEM4vRom3bS8YQarYBNQkvnw5zA5iiwjoSExa1ANWxCywilHi 0a5bYAkhAVuJh/e6wRo4Bewkji/8ywxiCwu4SxxoPANWwyKgKvGl/QdYnBeo/sml16wQtqDE j8n3WEBsZgEtifU7jzNB2PISm9e8BarnADpVXeLRX12IG4wklnf/YYMoEZHY9+IdI8g9EgL3 2CVO9+2C2iUg8W3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DY1NzIwsjcwsjEzMzUkTVhLnPdhqHSgkkJ5YkpqdmlqQWgSzhYmDU6qB 0Tbl4u/MGR1N/LMb8lfeqpokHjstQLzgR/+/uqhTO/fq/1pXa5725rZ59oeZIV8Zbp4QFdx9 IZ79ecapx+y85xS95/Xt/y6weAvzxGD99dbF9d0OiWs+7W99NHXG56l/u+Q+H38gJsbv0n7y qx53l2X0ugNbjuzVV933ecYlz6iav0WqU6T0diixFGckGmoxFxUnAgCFcHppSQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/video/i810/i810_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 038192a..4d3e8a1 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c @@ -106,7 +106,7 @@ static const char * const i810_pci_list[] = { "Intel(R) 815 (Internal Graphics with AGP) Framebuffer Device" }; -static struct pci_device_id i810fb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(i810fb_pci_tbl) = { { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG3,