From patchwork Thu Nov 28 03:34:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251711 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 9A11F9F3B8 for ; Thu, 28 Nov 2013 03:34:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D312A2061C for ; Thu, 28 Nov 2013 03:34:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0025820618 for ; Thu, 28 Nov 2013 03:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754736Ab3K1DeM (ORCPT ); Wed, 27 Nov 2013 22:34:12 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:54487 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1DeL (ORCPT ); Wed, 27 Nov 2013 22:34:11 -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 <0MWY00LUHF8Y9T10@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:34:10 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id C8.59.18608.1B9B6925; Thu, 28 Nov 2013 12:34:09 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-64-5296b9b1c5b2 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 3C.59.31284.1B9B6925; Thu, 28 Nov 2013 12:34:09 +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 <0MWY00FT7F8XUMN0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:34:09 +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 27/28] video: tridentfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:34:09 +0900 Message-id: <004301ceebea$b29f6bf0$17de43d0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAtjGA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsVy+t8zY92NO6cFGdw8IWlxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDJe/vjI VHCJreLF7pnsDYynWbsYOTkkBEwknl2eAGWLSVy4t56ti5GLQ0hgGaNEX0M7M0zRwydT2CES ixglVu58ygTh/GKU+LPmFVgVm4CaxJcvh9lBbBEBHYlJi3qYQYqYBRoZJVq6n4PtEBKwlXh4 r5sRxOYUsJM4vvAvWLOwgJdE37ErYDaLgKrEjclrmEBsXqD6y9fa2SFsQYkfk++xgNjMAloS 63ceZ4Kw5SU2r3kL1MsBdKq6xKO/uhA3GElMefUOqlxEYt+Ld4wg90gInGOXuNHxjw1il4DE t8mHWCB6ZSU2HY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wHW60DhQTSE0tSs1NTC1KLYLYwcXBKNTDOSfmxLCb95KKY 37fn2K3teuGQsnU9V1k9+5kpa75nXpJPf5D09vrf2yH+JftVm+ZsiCqyNBBR5ipaorvzi9T1 63rNEvVWvVd55f63elvvOML6LcWzu4vzR2V9HWvQszWxjDcafxnqczawlW+fbaA0/67gtr5X Hd1MP2P+hwgv3BEZ2njWiFGJpTgj0VCLuag4EQAJ37E5PwMAAA== 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/tridentfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index 7ed9a22..ba7dc99 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c @@ -1559,7 +1559,7 @@ static void trident_pci_remove(struct pci_dev *dev) } /* List of boards that we are trying to support */ -static struct pci_device_id trident_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(trident_devices) = { {PCI_VENDOR_ID_TRIDENT, BLADE3D, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VENDOR_ID_TRIDENT, CYBERBLADEi7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, {PCI_VENDOR_ID_TRIDENT, CYBERBLADEi7D, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},