From: Vinod Koul <vinod.koul@intel.com>
To: Michele Curti <michele.curti@gmail.com>
Cc: dan.j.williams@intel.com, dmaengine@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/dma/pch_dma: declare pch_dma_id_table as static
Date: Fri, 5 Dec 2014 23:28:56 +0530 [thread overview]
Message-ID: <20141205175856.GW3411@intel.com> (raw)
In-Reply-To: <20141202170756.GA30256@powerline.azcom-win.it>
On Tue, Dec 02, 2014 at 06:07:56PM +0100, Michele Curti wrote:
> pch_dma_id_table is used in pch_dma.c only, so declare
> it as static
Applied, thanks
--
~Vinod
>
> Signed-off-by: Michele Curti <michele.curti@gmail.com>
> ---
> 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 */
> --
> 2.1.3
>
--
prev parent reply other threads:[~2014-12-05 17:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 17:07 [PATCH] drivers/dma/pch_dma: declare pch_dma_id_table as static Michele Curti
2014-12-05 17:58 ` Vinod Koul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141205175856.GW3411@intel.com \
--to=vinod.koul@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michele.curti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.