From patchwork Thu Nov 28 03:27:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251581 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 4AC019F3B8 for ; Thu, 28 Nov 2013 03:27:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9260520348 for ; Thu, 28 Nov 2013 03:27:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FE7B200EC for ; Thu, 28 Nov 2013 03:27:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757442Ab3K1D1T (ORCPT ); Wed, 27 Nov 2013 22:27:19 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:23182 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1D1S (ORCPT ); Wed, 27 Nov 2013 22:27:18 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00DD9EXH0PB0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:27:17 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 9C.F2.18459.518B6925; Thu, 28 Nov 2013 12:27:17 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-db-5296b815f2bf Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 4A.68.31284.518B6925; Thu, 28 Nov 2013 12:27:17 +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 <0MWY00FPXEXHUMM0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:27:17 +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 16/28] video: neofb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:27:16 +0900 Message-id: <003801ceebe9$bcfa2320$36ee6960$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAeSfw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsVy+t8zQ13RHdOCDDbPFLa4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBkHf5cV TGGteDjpFmsD42KWLkZODgkBE4m2OQdZIWwxiQv31rN1MXJxCAksY5Q4P3sLO0zRwQ1bWCAS ixgl+h9/Z4dwfjFK3P18lhGkik1ATeLLl8NgHSICOhKTFvUwgxQxCzQySrR0PwfbISRgK/Hw XjdYA6eAncTxhX+ZQWxhATeJtdfug8VZBFQlTq5cDVbPC1Q/f9lJRghbUOLH5HtgdzMLaEms 33mcCcKWl9i85i3QHA6gU9UlHv3VhbjBSGLOlIPsECUiEvtevGMEuUdC4BS7xJFZz5khdglI fJt8iAWiV1Zi0wFmiI8lJQ6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Es4WJg1OqgZFZwfK48V21iDwz zoz/yg936a2Y+Xmi2+LEq7UrjjKsWXT3cL5Qw8obpapScT0THc85L/afd3dloEP57P1m4rzd iyN+JDF5pQfzdXQZ8sptO8+mqdTH2XD0Wcbu/5kJ82u+v2h8wvmniTWf8fI7v/vf2BzbLoY2 3PNQPnZS5Y8nM8O/f9XP3JVYijMSDbWYi4oTAdFMmwQ+AwAA 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/neofb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c index 44f99a6..2c7c19e 100644 --- a/drivers/video/neofb.c +++ b/drivers/video/neofb.c @@ -2150,7 +2150,7 @@ static void neofb_remove(struct pci_dev *dev) } } -static struct pci_device_id neofb_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(neofb_devices) = { {PCI_VENDOR_ID_NEOMAGIC, PCI_CHIP_NM2070, PCI_ANY_ID, PCI_ANY_ID, 0, 0, FB_ACCEL_NEOMAGIC_NM2070},