From patchwork Thu Nov 28 03:29:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251611 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 009829F3B8 for ; Thu, 28 Nov 2013 03:29:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 448432060D for ; Thu, 28 Nov 2013 03:29:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62B72205F5 for ; Thu, 28 Nov 2013 03:29:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757442Ab3K1D3O (ORCPT ); Wed, 27 Nov 2013 22:29:14 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:62486 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755052Ab3K1D3N (ORCPT ); Wed, 27 Nov 2013 22:29:13 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FMDF0OS340@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:29:12 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 2B.38.18608.888B6925; Thu, 28 Nov 2013 12:29:12 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-d7-5296b88877c8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id AC.3A.32308.888B6925; Thu, 28 Nov 2013 12:29:12 +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 <0MWY00BMJF0OPB00@mmp2.samsung.com>; Thu, 28 Nov 2013 12:29:12 +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 19/28] video: pm3fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:29:12 +0900 Message-id: <003b01ceebea$01937a40$04ba6ec0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAia6Q Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zI92OHdOCDJatFre4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBnfl55m KfjDUrFn42bGBsZWli5GDg4JAROJxXccuxg5gUwxiQv31rN1MXJxCAksY5TYfP4MG0TCRGLH yunsEInpjBJH//ZDOb8YJRraNoNVsQmoSXz5cpgdxBYR0JGYtKiHGaSIWaCRUaKl+zkrSEJI wFbi4b1uRhCbU8BO4vjCv8wgZwgLuEm0b4kFCbMIqEo8+/4XrIQXpHzyJTYIW1Dix+R7LCA2 s4CWxPqdx5kgbHmJzWveMkN8oy7x6K8uxAlGEr1TJrJDlIhI7HvxjhHkHAmBU+wSp161sUDs EpD4NvkQNCRkJTYdYIZ4WFLi4IobLBMYJW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RzBYmDk6pBsaeadu+KNz2/KO4 67CtS8ZK6W9hITZpK+SOpj6+Z6/++H35K3b10joWu+qp/1o7bBObIltF5XwPLDP3Pmx4kvPR WY0Z0a6NjbEsG7fmhC5f1J5g8bxuvurR7k9tVkYfvI7FiE9avT2lu7U04u1lDbEzU3oqI7Vt 3bjrbuXeuxXIsI1t87vr7EosxRmJhlrMRcWJAHmZPdQ+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/pm3fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/pm3fb.c b/drivers/video/pm3fb.c index 4bf3273..0c850db 100644 --- a/drivers/video/pm3fb.c +++ b/drivers/video/pm3fb.c @@ -1493,7 +1493,7 @@ static void pm3fb_remove(struct pci_dev *dev) } } -static struct pci_device_id pm3fb_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(pm3fb_id_table) = { { PCI_VENDOR_ID_3DLABS, 0x0a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0, }