From patchwork Thu Nov 28 03:23:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251541 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 27FE09F3B8 for ; Thu, 28 Nov 2013 03:24:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6257D205F5 for ; Thu, 28 Nov 2013 03:24:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75B9C205F4 for ; Thu, 28 Nov 2013 03:24:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758607Ab3K1DYP (ORCPT ); Wed, 27 Nov 2013 22:24:15 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:61765 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758628Ab3K1DX4 (ORCPT ); Wed, 27 Nov 2013 22:23:56 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FBEERTS340@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:23:53 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 99.78.18301.947B6925; Thu, 28 Nov 2013 12:23:53 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-5e-5296b7490366 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 8D.59.32308.947B6925; Thu, 28 Nov 2013 12:23:53 +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 <0MWY00A88ERTHO40@mmp2.samsung.com>; Thu, 28 Nov 2013 12:23:53 +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 12/28] video: imsttfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:23:53 +0900 Message-id: <003401ceebe9$43b3d790$cb1b86b0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAWR1Q Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsVy+t8zQ13P7dOCDFZ8MLK4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBk7pqkX nGWt2HDuKEsD4xWWLkZODgkBE4munQ+ZIWwxiQv31rN1MXJxCAksY5RY0HSTGaboxt5OVojE dEaJ/Q0zoJxfjBJNT4+yglSxCahJfPlymB3EFhHQkZi0qIcZpIhZoJFRoqX7OViRkICtxMN7 3YwgNqeAncTxhX/BVggLeEhMO9UGFmcRUJX4fnMj2H28QPU7Fq5lg7AFJX5MvgcWZxbQkli/ 8zgThC0vsXnNW6A5HECnqks8+qsLcYORxLTzq1ghSkQk9r14xwhyj4TAKXaJWXPOMUHsEpD4 NvkQC0SvrMSmA1AfS0ocXHG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INjBmp3BUL34vyfUm3 frR51Xbliyn/PBm2nthr9fnDrGmpZ/q3zzidUFf1x2e/jGf1Snu7JBEFjVf2bI8rF8Ur+rwW 4z70ssboZnL+zbmFtU1536aGd31tipYoWRzO1Hz4Sqb8vLmfnQ2OXy78EKTSEvHkk2d+t/7e T56BFwSjLxpzV35OueuiosRSnJFoqMVcVJwIAG5uT4Q+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/imsttfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/imsttfb.c b/drivers/video/imsttfb.c index aae10ce..10c769c 100644 --- a/drivers/video/imsttfb.c +++ b/drivers/video/imsttfb.c @@ -1319,7 +1319,7 @@ imsttfb_ioctl(struct fb_info *info, u_int cmd, u_long arg) } } -static struct pci_device_id imsttfb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(imsttfb_pci_tbl) = { { PCI_VENDOR_ID_IMS, PCI_DEVICE_ID_IMS_TT128, PCI_ANY_ID, PCI_ANY_ID, 0, 0, IBM }, { PCI_VENDOR_ID_IMS, PCI_DEVICE_ID_IMS_TT3D,