From patchwork Thu Nov 28 03:32:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251691 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 14DC8C045B for ; Thu, 28 Nov 2013 03:33:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F57F2061C for ; Thu, 28 Nov 2013 03:33:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2564520618 for ; Thu, 28 Nov 2013 03:33:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1DdG (ORCPT ); Wed, 27 Nov 2013 22:33:06 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:63186 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1DdF (ORCPT ); Wed, 27 Nov 2013 22:33:05 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FY7F6US340@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:32:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.50]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 14.4A.21927.669B6925; Thu, 28 Nov 2013 12:32:54 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-53-5296b966e1d3 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D6.39.31284.669B6925; Thu, 28 Nov 2013 12:32:54 +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 <0MWY00BFFF6UPB10@mmp2.samsung.com>; Thu, 28 Nov 2013 12:32:54 +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 25/28] video: tdfxfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:32:54 +0900 Message-id: <004101ceebea$85e783e0$91b68ba0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAqwvA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zI920ndOCDLp7pCwuL7zEanGi7wOr xbqHL5gs1s+/xebA4vHqwh0Wj74tqxg9jt/YzuTxeZNcAEsUl01Kak5mWWqRvl0CV0brW4+C NWwVq3Z1MzUwrmDtYuTkkBAwkVi+4BszhC0mceHeerYuRi4OIYFljBI7pl9m6WLkACta9CcC pEZIYDqjRNO8GoiaX4wSXR0PGEESbAJqEl++HGYHsUUEdCQmLephBiliFmhklGjpfs4K0W0r 8fBeN1gDp4CdxPGFf8E2Cwu4Sxw91AXWzCKgKnH2/D02EJsXqL7p6S0WCFtQ4sfke2A2s4CW xPqdx5kgbHmJzWveMkMcqi7x6K8uiCkiYCTx9Zo5RIWIxL4X7xhBzpEQOMUusaR/DSvEKgGJ b5MPQf0oK7HpADQcJCUOrrjBM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Wxh4uCUamCMXH3rAl9d689CezMO 57cbi+9v1BJ1j6m9vuG77pw/JSmFhxTXeR2euT7btknO/94WIc2r850e7/znUumfXq3uclLa byLra5HLpR0qOdXvfyy8qn5gg+Jvq40M7fPzn2nY77gvY2OedNDklre1nXvAlFLlTv5jPNZv Nr5feU1hd8o+i8Cf7uJKLMUZiYZazEXFiQCSCNyWOwMAAA== 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/tdfxfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c index f761fe3..61369ce 100644 --- a/drivers/video/tdfxfb.c +++ b/drivers/video/tdfxfb.c @@ -138,7 +138,7 @@ static struct fb_var_screeninfo tdfx_var = { static int tdfxfb_probe(struct pci_dev *pdev, const struct pci_device_id *id); static void tdfxfb_remove(struct pci_dev *pdev); -static struct pci_device_id tdfxfb_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(tdfxfb_id_table) = { { PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_BANSHEE, PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16, 0xff0000, 0 },