All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Kiran Padwal <kiran.padwal@smartplayin.com>
Cc: stern@rowland.harvard.edu, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH] usb: host: ehci-msm: Make of_device_id array const
Date: Fri, 1 Aug 2014 15:48:04 -0700	[thread overview]
Message-ID: <20140801224804.GA29608@kroah.com> (raw)
In-Reply-To: <1406724285-14641-1-git-send-email-kiran.padwal@smartplayin.com>

On Wed, Jul 30, 2014 at 06:14:45PM +0530, Kiran Padwal wrote:
> Make of_device_id array const, because all OF functions handle it as const.
> 
> Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
> ---
>  drivers/usb/host/ehci-msm.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
> index 982c09b..934b39d 100644
> --- a/drivers/usb/host/ehci-msm.c
> +++ b/drivers/usb/host/ehci-msm.c
> @@ -190,7 +190,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = {
>  	.resume          = ehci_msm_pm_resume,
>  };
>  
> -static struct of_device_id msm_ehci_dt_match[] = {
> +static const struct of_device_id msm_ehci_dt_match[] = {
>  	{ .compatible = "qcom,ehci-host", },
>  	{}
>  };
> -- 
> 1.7.9.5

This patch is already in my tree, right?  Why submit it again?

confused,

greg k-h

      reply	other threads:[~2014-08-01 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 12:44 [PATCH] usb: host: ehci-msm: Make of_device_id array const Kiran Padwal
2014-07-30 12:44 ` Kiran Padwal
2014-08-01 22:48 ` Greg KH [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=20140801224804.GA29608@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=kiran.padwal@smartplayin.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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.