From patchwork Thu Nov 28 03:20:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251481 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 C72C7C045B for ; Thu, 28 Nov 2013 03:20:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 079142061C for ; Thu, 28 Nov 2013 03:20:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D4F9205F0 for ; Thu, 28 Nov 2013 03:20:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755277Ab3K1DUe (ORCPT ); Wed, 27 Nov 2013 22:20:34 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:39325 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755239Ab3K1DUa (ORCPT ); Wed, 27 Nov 2013 22:20:30 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY003W5EM5TS20@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:20:30 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 6B.77.21927.D76B6925; Thu, 28 Nov 2013 12:20:29 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-fd-5296b67d5db9 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9E.D8.32308.D76B6925; Thu, 28 Nov 2013 12:20:29 +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 <0MWY00FYEEM5EJN0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:20:29 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Russell King' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 07/28] video: cyber2000fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:20:29 +0900 Message-id: <002f01ceebe8$ca281e90$5e785bb0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAO/VA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsVy+t8zQ93abdOCDF4fM7e4vPASq8WJvg+s Frcv81qse/iCyWL9/FtsDqweLc09bB6vLtxh8ejbsorR4/iN7UwenzfJBbBGcdmkpOZklqUW 6dslcGVcWXWQreAqa8WRiceZGhjvsnQxcnJICJhIvF5ziBXCFpO4cG89WxcjF4eQwDJGiZaW 9ewwRd92zGUEsYUEFjFKPFysAVH0i1Hi+dtuJpAEm4CaxJcvh8EaRAR0JCYt6mEGKWIWWMMo 8WHWFyaIbluJh/e6wSZxCthJHF/4lxnEFhbwkbjVtBOshkVAVeL1vPNsIDYvUP2SSXMYIWxB iR+T74GdzSygJbF+53EmCFteYvOat0BzOIAuVZd49FcX4gYjiSN7T0GViEjse/GOEeQeCYFb 7BIfr7dC7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GJuTlpwkrivAdarQOFBNITS1KzU1MLUotgtjBxcEo1MNZN D9/he4F3p7F6xK2oNbPV/eveJO7+d/Vy/2Vps/9v/a9xXnX9aDX5jfH5I2ePeGcXhCUW+OQJ KLz2+jPnnu5J9qbb9/8z3dA8fr7kgviNOYkl5Tmvqr7YnVUVUH3PPeHckdqnaQxXOGzv9Cqk H4qpXVS3ZO7vw69/H+/ojTqR+Xr9Pr7kT51KLMUZiYZazEXFiQArgg96RwMAAA== 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/cyber2000fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index b0a950f..760200d 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c @@ -1837,7 +1837,7 @@ static int cyberpro_pci_resume(struct pci_dev *dev) return 0; } -static struct pci_device_id cyberpro_pci_table[] = { +static DEFINE_PCI_DEVICE_TABLE(cyberpro_pci_table) = { /* Not yet * { PCI_VENDOR_ID_INTERG, PCI_DEVICE_ID_INTERG_1682, * PCI_ANY_ID, PCI_ANY_ID, 0, 0, ID_IGA_1682 },