From patchwork Thu Nov 28 03:25:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251561 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 A88EC9F3B8 for ; Thu, 28 Nov 2013 03:25:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E23D22061E for ; Thu, 28 Nov 2013 03:25:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 10DCF205F5 for ; Thu, 28 Nov 2013 03:25:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213Ab3K1DZr (ORCPT ); Wed, 27 Nov 2013 22:25:47 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:22918 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758777Ab3K1DZp (ORCPT ); Wed, 27 Nov 2013 22:25:45 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00CD2EUXIEC0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:25:45 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id D6.97.18608.8B7B6925; Thu, 28 Nov 2013 12:25:44 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-43-5296b7b80428 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6B.89.32308.8B7B6925; Thu, 28 Nov 2013 12:25:44 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWY00FV3EUWEJO0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:25:44 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 14/28] video: matroxfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:25:44 +0900 Message-id: <003601ceebe9$85f4bfc0$91de3f40$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAaYug Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDIsWRmVeSWpSXmKPExsVy+t8zA90d26cFGey9ZmNxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDJ+PnnF VnCdo2LBFI4GxhXsXYycHBICJhILH31hgrDFJC7cW8/WxcjFISSwjFHiz4rlrF2MHGBFu7bY QsQXMUo8fTGFBaRBSOAXo0TzXV8Qm01ATeLLl8NgQ0UEdCQmLephBmlgFmhklGjpfs4K0WAr 8fBeNyOIzSlgJ3F84V9mEFtYwFPi3r9+sBoWAVWJix8mgy3gBapff+gBI4QtKPFj8j2wOLOA lsT6nceZIGx5ic1r3jJDHKou8eivLsQNRhK7W56yQ5SISOx78Y4R5B4JgVPsEn9f9LNB7BKQ +Db5EAtEr6zEpgPM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Q1OzW1ILUIZgsTB6dUA2N/4/LZoklKO3d2 +Sw9qsvvqXjc8Yn9vBtX3KYuXSBU9a9LpFxPhvWzxlE/wXWNN8J8VZxuTBZkSZj0ueWDIN+0 xcuDlzTzr3aJ3M2r95VfTyR/XYip+vv42aEveCz1vi2aKrTXxd5tq7DwVn6BG2/vnrPZK9XK 4ylx20H1LgdLfwW/E7v1eSWW4oxEQy3mouJEAB+GbA08AwAA 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/matrox/matroxfb_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index 87c64ff..ccd34c9 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c @@ -1594,7 +1594,7 @@ static int initMatrox2(struct matrox_fb_info *minfo, struct board *b) unsigned int memsize; int err; - static struct pci_device_id intel_82437[] = { + static DEFINE_PCI_DEVICE_TABLE(intel_82437) = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82437) }, { }, }; @@ -2087,7 +2087,7 @@ static void pci_remove_matrox(struct pci_dev* pdev) { matroxfb_remove(minfo, 1); } -static struct pci_device_id matroxfb_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(matroxfb_devices) = { #ifdef CONFIG_FB_MATROX_MILLENIUM {PCI_VENDOR_ID_MATROX, PCI_DEVICE_ID_MATROX_MIL, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},