Message ID | 004201ceebea$9bcf1ec0$d36d5c40$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> 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 5EEA89F3B8 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:33:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9B37E2061C for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:33:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A187020618 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:33:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758725Ab3K1Ddd (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Wed, 27 Nov 2013 22:33:33 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:24188 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1Ddc (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Wed, 27 Nov 2013 22:33:32 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00C13F7VGFD0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:33:31 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id AA.6A.21927.B89B6925; Thu, 28 Nov 2013 12:33:31 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-6e-5296b98b3e02 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id AB.49.31284.B89B6925; Thu, 28 Nov 2013 12:33:31 +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 <0MWY00BPNF7UPB10@mmp2.samsung.com>; Thu, 28 Nov 2013 12:33:30 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Tomi Valkeinen' <tomi.valkeinen@ti.com> Cc: 'Jean-Christophe PLAGNIOL-VILLARD' <plagnioj@jcrosoft.com>, linux-fbdev@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com> References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 26/28] video: tgafb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:33:30 +0900 Message-id: <004201ceebea$9bcf1ec0$d36d5c40$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAsMIw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsVy+t8zY93undOCDI6+krK4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBnPJ55n KnjJWtG37z1jA+Nbli5GTg4JAROJaUsXM0LYYhIX7q1n62Lk4hASWMYoMXFaAxNM0aqPZ5kg EtMZJb43bmGHcH4xSnz7f4INpIpNQE3iy5fD7CC2iICOxKRFPcwgRcwCjYwSLd3PWUESQgK2 E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yahaRlASPLKkbR1ILkguKk9FwjveLE3OLSvHS95PzcTYzguH8mvYNxVYPFIUYBDkYl Hl4JnWlBQqyJZcWVuYcYJTiYlUR4FYqBQrwpiZVVqUX58UWlOanFhxiTgR6dyCwlmpwPTEl5 JfGGxiZmRpZGZhZGJubmpAkrifMebLUOFBJITyxJzU5NLUgtgtnCxMEp1cBY8+nOgS8KS8MO MR1/cuTVx6WnOsMXJzg+L/y2q80zXz+92nrH5QKN0IuRFg6mWscirqmbpJT2aDwRXjzhwj93 3dpdC5vtOS8IGB2J5RMpCyoujmd5/b3m3yZe0cNL2+t4Y2p3v248XyPqcc3zRUCdc/n1vX+F f3LfXaW9Rqref+b8bjY//jAlluKMREMt5qLiRAA2xlAVPwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> 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 |
diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index f28674f..09f662f 100644 --- a/drivers/video/tgafb.c +++ b/drivers/video/tgafb.c @@ -96,7 +96,7 @@ static struct fb_ops tgafb_ops = { static int tgafb_pci_register(struct pci_dev *, const struct pci_device_id *); static void tgafb_pci_unregister(struct pci_dev *); -static struct pci_device_id const tgafb_pci_table[] = { +static DEFINE_PCI_DEVICE_TABLE(tgafb_pci_table) = { { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TGA) }, { } };
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/video/tgafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)