From patchwork Thu Nov 28 03:22:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251521 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 53A419F3B8 for ; Thu, 28 Nov 2013 03:22:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8CBA3205F5 for ; Thu, 28 Nov 2013 03:22:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 659AE205F4 for ; Thu, 28 Nov 2013 03:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1DWg (ORCPT ); Wed, 27 Nov 2013 22:22:36 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:22417 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754154Ab3K1DWf (ORCPT ); Wed, 27 Nov 2013 22:22:35 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00BYIEPLZNC0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:22:33 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 20.38.18301.9F6B6925; Thu, 28 Nov 2013 12:22:33 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-42-5296b6f92a19 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 2E.A7.31284.9F6B6925; Thu, 28 Nov 2013 12:22:33 +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 <0MWY00AXAEPL6850@mmp2.samsung.com>; Thu, 28 Nov 2013 12:22:33 +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 10/28] video: gxt4500: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:22:33 +0900 Message-id: <003201ceebe9$14104140$3c30c3c0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAUBtg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zA92f26YFGRzcZ25xeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDKOP2Et +MRasf7EYqYGxl8sXYycHBICJhIdvZPZIGwxiQv31gPZXBxCAssYJQ42LmWDKZr+fSkTRGI6 o8SVJx+hqn4xSkz6dZEVpIpNQE3iy5fD7CC2iICOxKRFPcwgRcwCjYwSLd3PwYqEBGwlHt7r ZgSxOQXsJI4v/MsMYgsLeEg8u/EbrIZFQFWi/dJuIJuDgxeofvMpsBJeAUGJH5PvgZ3NLKAl sX7ncSYIW15i85q3zCDlEgLqEo/+6kKcYCSx/dQPRogSEYl9L94xgpwjIXCOXeLu1OlsEKsE JL5NPsQC0Ssrs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4UE0hNLUrNTUwtSi2C2MHFwSjUwGj1V+SQQfnZZ vJxKcKzaSvGSLLa2rf/fvPB8LPBV4Hv8vik6JnZMExjLlf+9Fmlt8fRPWavh4/DqUpT174DS 6d1SR3+v+3404+i7ybbh2Tcb53PtYJN61zY3MqV245oZU7J/y66+Z7x0R5XpeweJHTeiDWUk 3GdVZItrrXCQP8OwKMLV8f5nJZbijERDLeai4kQAVY8F7T0DAAA= 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/gxt4500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/gxt4500.c b/drivers/video/gxt4500.c index 135d78a..c09d5e5 100644 --- a/drivers/video/gxt4500.c +++ b/drivers/video/gxt4500.c @@ -738,7 +738,7 @@ static void gxt4500_remove(struct pci_dev *pdev) } /* supported chipsets */ -static const struct pci_device_id gxt4500_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(gxt4500_pci_tbl) = { { PCI_DEVICE(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_GXT4500P), .driver_data = GXT4500P }, { PCI_DEVICE(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_GXT6500P),