From patchwork Thu Nov 28 03:24: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: 3251551 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 E3AB1C045B for ; Thu, 28 Nov 2013 03:24:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29360205F5 for ; Thu, 28 Nov 2013 03:24:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E250205F4 for ; Thu, 28 Nov 2013 03:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758628Ab3K1DY5 (ORCPT ); Wed, 27 Nov 2013 22:24:57 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:22799 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758341Ab3K1DY5 (ORCPT ); Wed, 27 Nov 2013 22:24:57 -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 <0MWY00D7EETK0PB0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:24:56 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id ED.72.18459.887B6925; Thu, 28 Nov 2013 12:24:56 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-1b-5296b7880458 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 92.79.32308.787B6925; Thu, 28 Nov 2013 12:24:56 +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 <0MWY00AHHETJHO40@mmp2.samsung.com>; Thu, 28 Nov 2013 12:24: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 13/28] video: kyrofb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:24:55 +0900 Message-id: <003501ceebe9$68dcef20$3a96cd60$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAYG7g Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsVy+t8zY92O7dOCDCbu4LK4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBmvbl1l KVjBWjHhXiN7A+MGli5GTg4JAROJ3ledrBC2mMSFe+vZuhi5OIQEljFK3LuzmRGmqGXGHmaI xHRGibO7jkNV/WKU+PLxCTNIFZuAmsSXL4fZQWwRAR2JSYt6wDqYBRoZJVq6n4PtEBKwlXh4 rxtsLKeAncTxhX/BmoUF3CUmf5rCBGKzCKhK7Jx2ACzOC1T/svkhlC0o8WPyPbC7mQW0JNbv PM4EYctLbF7zFqiGA+hUdYlHf3UhbjCS+PdtKVSJiMS+F+8YQe6REDjFLnFuxUWoXQIS3yYf YoHolZXYBLFWQkBS4uCKGywTGCV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sPDZ5 /tF1LA9zEqUZW5vE1wdPyJ0yN+St2/nLs7ijZjosU8j/p+3LbaW+PLXYLoVt0t/Qi3Kb31rE 2Z7m+3tkebKcyfP53a5PNKZobcxrqI+Vyl60OSSm+8Su7ytjWt9UPxR5qrBePDqdRbueN0E+ reRHX2PZV/ZF+/lnHT6gxFKckWioxVxUnAgATGk0hD8DAAA= 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/kyro/fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c index 50c8574..708d97d 100644 --- a/drivers/video/kyro/fbdev.c +++ b/drivers/video/kyro/fbdev.c @@ -640,7 +640,7 @@ static int kyrofb_ioctl(struct fb_info *info, return 0; } -static struct pci_device_id kyrofb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(kyrofb_pci_tbl) = { { PCI_VENDOR_ID_ST, PCI_DEVICE_ID_STG4000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0, }