From patchwork Thu Nov 28 03:19:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251471 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 A7EF5C045B for ; Thu, 28 Nov 2013 03:19:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DEA86205F0 for ; Thu, 28 Nov 2013 03:19:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 257C820544 for ; Thu, 28 Nov 2013 03:19:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213Ab3K1DTw (ORCPT ); Wed, 27 Nov 2013 22:19:52 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:51918 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754118Ab3K1DTv (ORCPT ); Wed, 27 Nov 2013 22:19:51 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00LH5EL2EF00@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:19:51 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id C3.57.21927.656B6925; Thu, 28 Nov 2013 12:19:50 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-e0-5296b6569b8b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 93.B8.32308.656B6925; Thu, 28 Nov 2013 12:19:50 +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 <0MWY00ALYEL2HO30@mmp2.samsung.com>; Thu, 28 Nov 2013 12:19:50 +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 06/28] video: cirrusfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:19:49 +0900 Message-id: <002e01ceebe8$b28a4830$179ed890$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAANd6A Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsVy+t8zA92wbdOCDC7NFrK4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBnLz59i LljKVtF3bw9TA+Nq1i5GTg4JAROJpgP72SFsMYkL99azdTFycQgJLGOU2LtqGlzR1oZVbCC2 kMB0Rokrj9khin4xSiw41gWWYBNQk/jy5TDYJBEBHYlJi3qYQYqYBRoZJVq6n7NCdNtKPLzX zQhicwrYSRxf+JcZxBYW8JRYtvYaC4jNIqAq8aWjF2wQL1D9wcNfmSFsQYkfk++B1TALaEms 33mcCcKWl9i85i1QDQfQpeoSj/7qQtxgJLH7SBMjRImIxL4X7xhB7pEQOMUuseLlESaIXQIS 3yYfYoHolZXYdIAZ4mFJiYMrbrBMYJSY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g2MGew53znFmRM2nQwz Cj1Q+cEmwqbr9L/KA1e5/hurZb6Ynnto1x7RDdmSCzlPZocnnBZffdZUV4ybdYd03bZPDf/m Wt+7vjr79denbht63ts8933Ldm/KW9mIc0ZxLt57773x3DRx6YHXtl0vr+49veO5XV5w6OWA aWLP5/qpMxUYXDB5q/B4lhJLcUaioRZzUXEiAKRWEUQ+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/cirrusfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index d992aa5..aeb165b 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -255,7 +255,7 @@ static const struct cirrusfb_board_info_rec { #define CHIP(id, btype) \ { PCI_VENDOR_ID_CIRRUS, id, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (btype) } -static struct pci_device_id cirrusfb_pci_table[] = { +static DEFINE_PCI_DEVICE_TABLE(cirrusfb_pci_table) = { CHIP(PCI_DEVICE_ID_CIRRUS_5436, BT_ALPINE), CHIP(PCI_DEVICE_ID_CIRRUS_5434_8, BT_SD64), CHIP(PCI_DEVICE_ID_CIRRUS_5434_4, BT_SD64),