From patchwork Thu Nov 28 03:13:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251431 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 C9EB9C045B for ; Thu, 28 Nov 2013 03:13:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1AE1E2061C for ; Thu, 28 Nov 2013 03:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D7FF2061B for ; Thu, 28 Nov 2013 03:13:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab3K1DN5 (ORCPT ); Wed, 27 Nov 2013 22:13:57 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:38207 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab3K1DN5 (ORCPT ); Wed, 27 Nov 2013 22:13:57 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00350EB7YK20@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:13:55 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id CD.80.18459.3F4B6925; Thu, 28 Nov 2013 12:13:55 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-19-5296b4f358ba Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 15.08.32308.3F4B6925; Thu, 28 Nov 2013 12:13:55 +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 <0MWY00935EB7EV70@mmp2.samsung.com>; Thu, 28 Nov 2013 12:13:55 +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 02/28] video: asiliantfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:13:55 +0900 Message-id: <002a01ceebe7$df32e370$9d98aa50$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAAUFA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDIsWRmVeSWpSXmKPExsVy+t8zY93PW6YFGVxr1LG4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBkfZv5g KdjJWnFojnkD43GWLkZODgkBE4lDv78wQ9hiEhfurWcDsYUEljFKXD3p3cXIAVbz/4FdFyMX UHg6o8Syzd+YIZxfjBLbDx8CG8QmoCbx5cthdhBbREBHYtKiHrAiZoFGRomW7uesEFNtJR7e 62YEsTkF7CSOL/wLtllYwFvizMVOsDiLgKrE5PYZYFfwAtX/m/+GFcIWlPgx+R7YMmYBLYn1 O48zQdjyEpvXvGWGuFRd4tFfXYgbjCT6p5+BKheR2PfiHSPIPRIC59glTn4/xQyxS0Di22SQ B0B6ZSU2HYAGhKTEwRU3WCYwSsx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g1OqgdHdfEF1iXpX8rm+ v4z7O9YvKeu5cf3Dfr+me60nP2TNfDvVSjLO5H7VvLedvUXn1uhYsF4REsnLKnkpbB4530py AVvm9NM9B0zv9TwV9XnlcOM9/x63A2x9d013vMi5ft5r4usUju9vD7ckTM8yLeian1346nrb cfuHG9Ia95ba8HVefd5eWq/EUpyRaKjFXFScCAC7JZwnPQMAAA== 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/asiliantfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/asiliantfb.c b/drivers/video/asiliantfb.c index d611f1a..f1ba0d8 100644 --- a/drivers/video/asiliantfb.c +++ b/drivers/video/asiliantfb.c @@ -593,7 +593,7 @@ static void asiliantfb_remove(struct pci_dev *dp) framebuffer_release(p); } -static struct pci_device_id asiliantfb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(asiliantfb_pci_tbl) = { { PCI_VENDOR_ID_CT, PCI_DEVICE_ID_CT_69000, PCI_ANY_ID, PCI_ANY_ID }, { 0 } };