From patchwork Thu Nov 28 03:32:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251681 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 C4EE79F3B8 for ; Thu, 28 Nov 2013 03:32:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1077B20618 for ; Thu, 28 Nov 2013 03:32:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D526205EF for ; Thu, 28 Nov 2013 03:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754154Ab3K1DcS (ORCPT ); Wed, 27 Nov 2013 22:32:18 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:41145 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1DcR (ORCPT ); Wed, 27 Nov 2013 22:32:17 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY002RBF5SSO40@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:32:16 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id B8.3A.18301.049B6925; Thu, 28 Nov 2013 12:32:16 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-18-5296b940111a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5B.AA.32308.F39B6925; Thu, 28 Nov 2013 12:32:16 +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 <0MWY00GPRF5RZZL0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:32:15 +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 24/28] video: sstfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:32:15 +0900 Message-id: <004001ceebea$6f0f9590$4d2ec0b0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAApYJg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zQ12HndOCDOZ+Y7G4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBnP1p1h KzjHWvH65G7WBsabLF2MnBwSAiYSJ5bvZIWwxSQu3FvP1sXIxSEksIxR4v23OUxdjBxgRX1v JCDiixglflz+xAzSICTwi1Fi/c4wEJtNQE3iy5fD7CC2iICOxKRFPcwgDcwCjYwSLd3PWSEa bCUe3utmBLE5Bewkji/8ywyyQFjATWLC9SQQk0VAVeLDBEOQCl6g6smf/7BB2IISPybfA7uZ WUALaOtxJghbXmLzmrfMEGeqSzz6qwtxgZHEtDV3oEpEJPa9eMcIco2EwCl2iS/PVoNdwyIg IPFt8iEWiF5ZiU0HmCHBIClxc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bGHi4JRqYJSfI+OxZ3r0la/N NmEvFx+7VhLS7mHBsvDUypu6j21v/dWIVw0Mjsr9cHjn56b4zVk+x9Lb81WZZ+R0pb5ZmRp5 wMZ8aYMgz4dDKw4vPMjVvd7u9aZbpdP0Tk0429I3Udtu4Wdz1Xibzsi0j2d7nonb5Llw3Dkh 3/SSsU8oz5mP06eixiLopRJLcUaioRZzUXEiAMPAedQ7AwAA 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/sstfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sstfb.c b/drivers/video/sstfb.c index f0cb279..f132691 100644 --- a/drivers/video/sstfb.c +++ b/drivers/video/sstfb.c @@ -1477,7 +1477,7 @@ static void sstfb_remove(struct pci_dev *pdev) } -static const struct pci_device_id sstfb_id_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(sstfb_id_tbl) = { { PCI_DEVICE(PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO ), .driver_data = ID_VOODOO1, }, { PCI_DEVICE(PCI_VENDOR_ID_3DFX, PCI_DEVICE_ID_3DFX_VOODOO2),