From patchwork Thu Nov 28 03:28:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251601 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 EA431C045B for ; Thu, 28 Nov 2013 03:28:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E2382060D for ; Thu, 28 Nov 2013 03:28:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 517E2205F5 for ; Thu, 28 Nov 2013 03:28:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754257Ab3K1D2d (ORCPT ); Wed, 27 Nov 2013 22:28:33 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:62345 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1D2d (ORCPT ); Wed, 27 Nov 2013 22:28:33 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FETEZK1J50@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:28:32 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C0.53.18459.068B6925; Thu, 28 Nov 2013 12:28:32 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-df-5296b8605ec6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9C.2A.32308.068B6925; Thu, 28 Nov 2013 12:28:32 +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 <0MWY00GJ8EZJ2LP0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:28:31 +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 18/28] video: pm2fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:28:31 +0900 Message-id: <003a01ceebe9$e97b1cb0$bc715610$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAhCjQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsVy+t8zQ92EHdOCDJa95rG4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBlf725m L7jOWrFgyzfGBsYHLF2MnBwSAiYSq3c1s0LYYhIX7q1n62Lk4hASWMYocanvACNM0a85F5gh EosYJQ69usQI4fxilPi9+Rw7SBWbgJrEly+HwWwRAR2JSYt6wDqYBRoZJVq6n4PtEBKwlXh4 rxtsLKeAncTxhX+ZQWxhATeJvfPeMoHYLAKqEv9+3Aer5wWqb7m5gg3CFpT4Mfke2N3MAloS 63ceZ4Kw5SU2r3kLNIcD6FR1iUd/dSFuMJJonv6YFaJERGLfi3dgR0sInGOXON7ZxQKxS0Di 2+RDLBC9shKbDjBDfCwpcXDF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qHSgkkJ5YkpqdmlqQWgSzhYmDU6qB0eefWeK0tu1V UjMT5uhHak13ZDz5t9Xhc3Af//z1Hz1WH2r9I2LqJlfC9dJx3b32laG/pjY91jHmmynwi6Vt 64vvFd65LqwHV5yeyzFtkWb1LON0i78nniUy2enOejbv/4xdurV/DiVtMfvk8k3atE34gMJe H9N3i61ULHg/eCiV/1KO+2f0QImlOCPRUIu5qDgRAHn78hM/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/pm2fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c index 3b85b64..78efd82 100644 --- a/drivers/video/pm2fb.c +++ b/drivers/video/pm2fb.c @@ -1749,7 +1749,7 @@ static void pm2fb_remove(struct pci_dev *pdev) framebuffer_release(info); } -static struct pci_device_id pm2fb_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(pm2fb_id_table) = { { PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_TVP4020, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_3DLABS, PCI_DEVICE_ID_3DLABS_PERMEDIA2,