From patchwork Thu Nov 28 03:21:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251501 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 A6EDC9F3B8 for ; Thu, 28 Nov 2013 03:21:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E48A3205F0 for ; Thu, 28 Nov 2013 03:21:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C89420544 for ; Thu, 28 Nov 2013 03:21:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab3K1DVY (ORCPT ); Wed, 27 Nov 2013 22:21:24 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:52201 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758758Ab3K1DVX (ORCPT ); Wed, 27 Nov 2013 22:21:23 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00LLDENMEF00@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:21:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 4E.B6.18608.2B6B6925; Thu, 28 Nov 2013 12:21:22 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-58-5296b6b22e07 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 60.09.32308.2B6B6925; Thu, 28 Nov 2013 12:21:22 +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 <0MWY00GMFENM2LO0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:21:22 +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 08/28] video: lxfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:21:22 +0900 Message-id: <003001ceebe8$e9c19100$bd44b300$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAQc2w Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsVy+t8zQ91N26YFGRw+ZmlxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDKany1l KTjIWvH9eWED40WWLkZODgkBE4kzrfvZIGwxiQv31gPZXBxCAssYJR7vOMcOU3S4+x8TRGIR o8S3tR0sEM4vRom9y5+AtbMJqEl8+XIYrENEQEdi0qIeZpAiZoFGRomW7uesIAkhAVuJh/e6 GUFsTgE7ieML/zKD2MICrhJrm56ANbMIqErMeLcI7D5eoPpHhzazQ9iCEj8m3wOLMwtoSazf eZwJwpaX2LzmLdAcDqBT1SUe/dWFuMFIYvLvZqhyEYl9L94xgtwjIXCKXeJ3yx1GiF0CEt8m H2KB6JWV2HSAGeJjSYmD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UgtQimC1MHJxSDYyrPb/4Nl099fd8 8dWWyqr9OlXup1bZFeew5nMLiVXbLZggZHen0CVu3poskZwm8zkTGLlM9YON7rMt4vjmESyu 6sAR61v890tI7nnRwIi0si0feguunXJx9dt+v+bktqozoX8c5LcyZKg4PVpw/ZT5k8DupdYT bkqp80yL4ZB//npbzXnpVCWW4oxEQy3mouJEAL5Kn9c+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/geode/lxfb_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/geode/lxfb_core.c b/drivers/video/geode/lxfb_core.c index 9e1d19d..c6cec41 100644 --- a/drivers/video/geode/lxfb_core.c +++ b/drivers/video/geode/lxfb_core.c @@ -608,7 +608,7 @@ static void lxfb_remove(struct pci_dev *pdev) framebuffer_release(info); } -static struct pci_device_id lxfb_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(lxfb_id_table) = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_LX_VIDEO) }, { 0, } };