From patchwork Thu Nov 28 03:29:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251641 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 1ED719F693 for ; Thu, 28 Nov 2013 03:29:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55B5F20620 for ; Thu, 28 Nov 2013 03:29:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7BA892061E for ; Thu, 28 Nov 2013 03:29:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1D3r (ORCPT ); Wed, 27 Nov 2013 22:29:47 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:53797 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab3K1D3r (ORCPT ); Wed, 27 Nov 2013 22:29:47 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00IPJF1MZ630@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:29:46 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id D0.8B.16780.AA8B6925; Thu, 28 Nov 2013 12:29:46 +0900 (KST) X-AuditID: cbfee690-b7f126d00000418c-38-5296b8aad794 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A6.C8.31284.AA8B6925; Thu, 28 Nov 2013 12:29:46 +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 <0MWY00ADKF1MHO50@mmp2.samsung.com>; Thu, 28 Nov 2013 12:29:46 +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 20/28] video: rivafb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:29:46 +0900 Message-id: <003c01ceebea$15d3a6b0$417af410$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAj8fw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJIsWRmVeSWpSXmKPExsVy+t8zA91VO6YFGXTdFrP42f2FzeLywkus Fif6PrBarHv4gsli/fxbbA6sHjtn3WX3eHXhDotH35ZVjB7Hb2xn8vi8SS6ANYrLJiU1J7Ms tUjfLoErY8akZywFO9gq9h1dxdTAuIe1i5GTQ0LARGLNuxNMELaYxIV769m6GLk4hASWMUq8 3rmTEaZo279rTBCJ6YwSa0/tY4ZwfjFKnP3znhmkik1ATeLLl8PsILaIgI7EpEU9YEXMAqsY JR7tugWWEBKwlXh4rxtsLKeAncTxhX/BmoUF3CW+3XwFdgeLgKrE9pvXwe7jBap/33eSEcIW lPgx+R4LiM0soCWxfudxJghbXmLzmrdAcziATlWXePRXF+IGI4kJXU8YIUpEJPa9eMcIco+E wD12iZ9fbzND7BKQ+Db5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nTVhJnPdgq3WgkEB6YklqdmpqQWoRzBYmDk6p BsaNa2PNrt97wbNy55F3Vjml/I2P+ZZtX1X681xxm90Bjq0Xvj8sFlPb8TBs67QVLy9/+Ctg HvpHd1Nmwq8fFT4v5mV/M55Ye7aqcaVv/h0xPgOTTxOyHBInMbdMfvCh+cxHn/lTPC6rrrmz dMcU+7Or+9ui76zbYhw2x2/CwhfHQjMTlzqbf1pUqsRSnJFoqMVcVJwIAKpPX2VJAwAA 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/riva/fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c index a5514ac..bb17eac 100644 --- a/drivers/video/riva/fbdev.c +++ b/drivers/video/riva/fbdev.c @@ -108,7 +108,7 @@ static int rivafb_blank(int blank, struct fb_info *info); * * ------------------------------------------------------------------------- */ -static struct pci_device_id rivafb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(rivafb_pci_tbl) = { { PCI_VENDOR_ID_NVIDIA_SGS, PCI_DEVICE_ID_NVIDIA_SGS_RIVA128, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TNT,