From: Viresh Kumar <viresh.kumar@linaro.org>
To: Wei Yongjun <weiyj.lk@gmail.com>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
Wei Yongjun <weiyongjun1@huawei.com>,
linux-pm@vger.kernel.org
Subject: Re: [PATCH -next] cpufreq: dt: Add terminate entry for of_device_id tables
Date: Wed, 24 Aug 2016 18:04:56 +0530 [thread overview]
Message-ID: <20160824123456.GE25143@ubuntu> (raw)
In-Reply-To: <1471794104-31436-1-git-send-email-weiyj.lk@gmail.com>
On 21-08-16, 15:41, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Make sure of_device_id tables are NULL terminated.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Fixes: f56aad1d98f1 ("cpufreq: dt: Add generic platform-device creation support")
CC: <stable@vger.kernel.org> #4.7+
> ---
> drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 470db30..285ed3e 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -75,6 +75,8 @@ static const struct of_device_id machines[] __initconst = {
> { .compatible = "ti,omap5", },
>
> { .compatible = "xlnx,zynq-7000", },
> +
> + { }
> };
>
> static int __init cpufreq_dt_platdev_init(void)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
prev parent reply other threads:[~2016-08-24 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-21 15:41 [PATCH -next] cpufreq: dt: Add terminate entry for of_device_id tables Wei Yongjun
2016-08-24 12:34 ` Viresh Kumar [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=20160824123456.GE25143@ubuntu \
--to=viresh.kumar@linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=weiyj.lk@gmail.com \
--cc=weiyongjun1@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).