From patchwork Tue Dec 2 17:07:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michele Curti X-Patchwork-Id: 5421481 Return-Path: X-Original-To: patchwork-dmaengine@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 9C522BEEA8 for ; Tue, 2 Dec 2014 17:08:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D184020265 for ; Tue, 2 Dec 2014 17:08:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0FC9B2028D for ; Tue, 2 Dec 2014 17:08:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205AbaLBRIB (ORCPT ); Tue, 2 Dec 2014 12:08:01 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:36665 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754198AbaLBRIA (ORCPT ); Tue, 2 Dec 2014 12:08:00 -0500 Received: by mail-wi0-f169.google.com with SMTP id r20so30541735wiv.2 for ; Tue, 02 Dec 2014 09:07:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=GFa8ThXnfL7WTjzvMx/u9iuSFFcegIDYzV3LwcOAbk8=; b=ES6fVYZoER7Fp1s7Y5Uj9dkdH3af9TSCMqg91ghBMFXH6W8x3ACG+5okiBSRgt1qc1 gJh6S+qBghJVf6laYgxWh6gFmzMC/3hZGibWlt63+EWO+U2HoAnJcv6s6gQ80y7YUq04 0XCo0+hoJEYOsd1BfAquL7dh4YutBDvP3FKuhSKYUu0cGg/RSFY31iAZLB0wlitJuRBV jAG3zN+r5mH8cFprqt0lRofAW1qW+ipWDzyVA90dWCd1BHCQQ+/31zG3SZPHowtIipbl 1HfGA3qmp0RfQdt3pGK5TPCIob2EWq8acH0UbxdBQmQOiz6EI9D0M7M8hGhl16V+hzl1 Fqhw== X-Received: by 10.194.95.10 with SMTP id dg10mr472877wjb.82.1417540079308; Tue, 02 Dec 2014 09:07:59 -0800 (PST) Received: from powerline.azcom-win.it ([80.76.66.73]) by mx.google.com with ESMTPSA id eu8sm8615590wib.21.2014.12.02.09.07.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 09:07:58 -0800 (PST) Date: Tue, 2 Dec 2014 18:07:56 +0100 From: Michele Curti To: dan.j.williams@intel.com, vinod.koul@intel.com Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers/dma/pch_dma: declare pch_dma_id_table as static Message-ID: <20141202170756.GA30256@powerline.azcom-win.it> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 pch_dma_id_table is used in pch_dma.c only, so declare it as static Signed-off-by: Michele Curti --- drivers/dma/pch_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index 9f9ca9f..6e0e47d 100644 --- a/drivers/dma/pch_dma.c +++ b/drivers/dma/pch_dma.c @@ -997,7 +997,7 @@ static void pch_dma_remove(struct pci_dev *pdev) #define PCI_DEVICE_ID_ML7831_DMA1_8CH 0x8810 #define PCI_DEVICE_ID_ML7831_DMA2_4CH 0x8815 -const struct pci_device_id pch_dma_id_table[] = { +static const struct pci_device_id pch_dma_id_table[] = { { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_EG20T_PCH_DMA_8CH), 8 }, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_EG20T_PCH_DMA_4CH), 4 }, { PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7213_DMA1_8CH), 8}, /* UART Video */