From patchwork Thu Nov 28 03:26:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251571 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 32BDE9F3B8 for ; Thu, 28 Nov 2013 03:26:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63C3B20200 for ; Thu, 28 Nov 2013 03:26:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83719200EC for ; Thu, 28 Nov 2013 03:26:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1D0n (ORCPT ); Wed, 27 Nov 2013 22:26:43 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:62083 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758460Ab3K1D0m (ORCPT ); Wed, 27 Nov 2013 22:26:42 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FAPEWH1J50@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:26:41 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id EC.98.21927.1F7B6925; Thu, 28 Nov 2013 12:26:41 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-c8-5296b7f17c18 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 35.A9.32308.1F7B6925; Thu, 28 Nov 2013 12:26:41 +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 <0MWY00ARYEWGHO40@mmp2.samsung.com>; Thu, 28 Nov 2013 12:26:41 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Anatolij Gustschin' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 15/28] video: mb862xxfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:26:40 +0900 Message-id: <003701ceebe9$a77d5800$f6780800$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAcLvw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zQ92P26cFGXRNFbBYf3cJo8XlhZdY LU70fWC1WPfwBZPF+vm32BxYPebNOsHi8erCHRaPvi2rGD2O39jO5PF5k1wAaxSXTUpqTmZZ apG+XQJXRu+X7awFu9gqth2/x9TAeIy1i5GDQ0LARGLyQqYuRk4gU0ziwr31bF2MXBxCAssY JSY/bmCGSJhI7J95kBHEFhKYziixfZYsRNEvRokVk/6AJdgE1CS+fDnMDmKLCOhITFrUwwxS xCywklFi45uvbBDdthIP73WDNXAK2EkcX/gXbIOwgJfE4funwS5iEVCVmN1ZCRLmBSrf8GAr K4QtKPFj8j0WEJtZQEti/c7jTBC2vMTmNW+ZIZ5Rl3j0VxfiBCOJXQt3sEGUiEjse/GOEeQc CYF77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GhyPjBF5ZXEGxqbmBlZGplZGJmYm5MmrCTOe6DVOlBIID2xJDU7NbUgtQhmCxMHp1QD Y25w3+G6yaujp9fUr//4g8d6ou2Ld3L7PhnPF7jPp/8ln2WHf/nBF/J/dytp79tnNsN7+4Hc s69kznQ/mnuZw+s3g95kRkYPu9/mL/RbJlkwqc4s+fpwbrqQ2670V+6cb0OjdL8qL3A4mvLp zZLMPVW9n72X3ZHebOo1P6PtH4vZzc45tya1LVBiKc5INNRiLipOBACGkuQRRwMAAA== 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/mb862xx/mb862xxfbdrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/mb862xx/mb862xxfbdrv.c b/drivers/video/mb862xx/mb862xxfbdrv.c index 0cd4c33..034abbb 100644 --- a/drivers/video/mb862xx/mb862xxfbdrv.c +++ b/drivers/video/mb862xx/mb862xxfbdrv.c @@ -982,7 +982,7 @@ static inline int mb862xx_pci_gdc_init(struct mb862xxfb_par *par) #define CHIP_ID(id) \ { PCI_DEVICE(PCI_VENDOR_ID_FUJITSU_LIMITED, id) } -static struct pci_device_id mb862xx_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(mb862xx_pci_tbl) = { /* MB86295/MB86296 */ CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALP), CHIP_ID(PCI_DEVICE_ID_FUJITSU_CORALPA),