From patchwork Thu Nov 28 03:35:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251721 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 3DB349F3B8 for ; Thu, 28 Nov 2013 03:35:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 788F120620 for ; Thu, 28 Nov 2013 03:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6D4F2061C for ; Thu, 28 Nov 2013 03:35:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758786Ab3K1DfI (ORCPT ); Wed, 27 Nov 2013 22:35:08 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:41632 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755052Ab3K1DfH (ORCPT ); Wed, 27 Nov 2013 22:35:07 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY003KYFAI6C40@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:35:06 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 44.89.18608.AE9B6925; Thu, 28 Nov 2013 12:35:06 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-02-5296b9eaa49a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 2E.1B.32308.AE9B6925; Thu, 28 Nov 2013 12:35:06 +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 <0MWY00FCPFAIEJQ0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:35:06 +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 28/28] video: vt8623fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:35:06 +0900 Message-id: <004401ceebea$d4ba8030$7e2f8090$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAu/Fg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zA91XO6cFGZzoMrK4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBl3d91i L2hnrWhfuo+1gXECSxcjJ4eEgInE9YuLGCFsMYkL99azdTFycQgJLGOUuHhqEVzR5fO/WCES ixgl/vZMZQVJCAn8YpRYvc0JxGYTUJP48uUwO4gtIqAjMWlRDzNIA7NAI6NES/dzqAZbiYf3 usHWcQrYSRxf+BeoiINDWMBT4v0SKRCTRUBV4tM7PpAKXqDqXWt3MUHYghI/Jt8Du4dZQEti /c7jTBC2vMTmNW/BpkgIqEs8+qsLYooIGElsPMQMUSEise/FO0aQYyQEzrFLXLjdCtbKIiAg 8W3yIRaIVlmJTQeYIb6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zU1MLUotgtjBxcEo1MJ4sfzXD6Hwgf/Cl SQdztnEei9HmV1Pf8OOEx8rHC0I/qWw3Du69Hf3EnlM4t0rUKOPAjtMx5zZYLv7tOzm8Kf25 6UMt/nMO7BrV29eFigr65p9lO+mQdPxMcZ5EdU3r5TXi77/NLk7+0VR+qma/5qF/tzZFVc+d Nv32old9Ubyy2xZ/n+CSfl2JpTgj0VCLuag4EQAdpraBOwMAAA== 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/vt8623fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/vt8623fb.c b/drivers/video/vt8623fb.c index 8bc6e09..f210d0f 100644 --- a/drivers/video/vt8623fb.c +++ b/drivers/video/vt8623fb.c @@ -907,7 +907,7 @@ fail: /* List of boards that we are trying to support */ -static struct pci_device_id vt8623_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(vt8623_devices) = { {PCI_DEVICE(PCI_VENDOR_ID_VIA, 0x3122)}, {0, 0, 0, 0, 0, 0, 0} };