From patchwork Thu Nov 28 03:22:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251511 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 B7833C045B for ; Thu, 28 Nov 2013 03:22:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F215D205F5 for ; Thu, 28 Nov 2013 03:22:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC351205F4 for ; Thu, 28 Nov 2013 03:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755277Ab3K1DWH (ORCPT ); Wed, 27 Nov 2013 22:22:07 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:52368 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755934Ab3K1DWG (ORCPT ); Wed, 27 Nov 2013 22:22:06 -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 <0MWY00LW2EOT9T00@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:22:05 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 83.C7.21927.DD6B6925; Thu, 28 Nov 2013 12:22:05 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-87-5296b6ddfa26 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6B.29.32308.DD6B6925; Thu, 28 Nov 2013 12:22:05 +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 <0MWY0098CEOTEV90@mmp2.samsung.com>; Thu, 28 Nov 2013 12:22:05 +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 09/28] video: gx1fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:22:05 +0900 Message-id: <003101ceebe9$032692d0$0973b870$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAASbQg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsVy+t8zI92726YFGfzfo25xeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDJe3Z7H XPCateJX4zbGBsYvLF2MnBwSAiYSR5+cY4OwxSQu3FsPZHNxCAksY5TYPe07G0zRsUe/2SES 0xklDpw5wQzh/GKU6O84xQxSxSagJvHly2F2EFtEQEdi0qIesCJmgUZGiZbu56wgCSEBW4mH 97oZQWxOATuJ4wv/gjULC7hJ/L/wD2wdi4CqxKXb/8AG8QLVH3o4jwnCFpT4Mfke2N3MAloS 63ceZ4Kw5SU2r3kLNIcD6FR1iUd/dSFuMJL4vW0CO0SJiMS+F+8YQe6REDjHLnF3/ySoXQIS 3yYfYoHolZXYdIAZ4mNJiYMr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wWJg5OqQbGLj8P+wN+l38e LVFXW+LsnNB8N0o8P0zl9Y6LaxY5h/RU8TLztj9sZfr6Jkgm6MI9o8pnsTnL3myI82xYHrX9 cOClpRqH74ulrtkeui/1Uovt+4UpYZ3TVnjWia1R+/lteVnNp7nrY7xvv/5Wc8D4VGtB4LSk iaGXpzFdzE88v5PBYqXA4T0mSizFGYmGWsxFxYkAF9iBdT8DAAA= 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/geode/gx1fb_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/geode/gx1fb_core.c b/drivers/video/geode/gx1fb_core.c index 2794ba1..a701452 100644 --- a/drivers/video/geode/gx1fb_core.c +++ b/drivers/video/geode/gx1fb_core.c @@ -427,7 +427,7 @@ static void __init gx1fb_setup(char *options) } #endif -static struct pci_device_id gx1fb_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(gx1fb_id_table) = { { PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_VIDEO, PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16, 0xff0000, 0 },