Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209772
| From | Maxime Coquelin <maxime.coquelin@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices |
| Date | 2015-08-19 13:00 +0200 |
| Message-ID | <pZ9g7-3EV-21@gated-at.bofh.it> (permalink) |
| References | <pZ2eB-1XG-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Pratyush,
On 08/19/2015 05:28 AM, Pratyush Anand wrote:
> diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c
> index 6785afdc0fca..14e9badf2bfa 100644
> --- a/drivers/watchdog/st_lpc_wdt.c
> +++ b/drivers/watchdog/st_lpc_wdt.c
> @@ -241,6 +241,7 @@ static int st_wdog_probe(struct platform_device *pdev)
> return -EINVAL;
> }
> st_wdog_dev.max_timeout = 0xFFFFFFFF / st_wdog->clkrate;
> + st_wdog_dev.parent = &pdev->dev;
>
> ret = clk_prepare_enable(clk);
> if (ret) {
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Thanks!
Maxime
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V3] Watchdog: Fix parent of watchdog_devices Pratyush Anand <panand@redhat.com> - 2015-08-19 05:30 +0200 Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2015-08-19 08:50 +0200 Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Thierry Reding <thierry.reding@gmail.com> - 2015-08-19 12:20 +0200 Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Maxime Coquelin <maxime.coquelin@st.com> - 2015-08-19 13:00 +0200 Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Guenter Roeck <linux@roeck-us.net> - 2015-08-19 17:40 +0200 RE: [PATCH V3] Watchdog: Fix parent of watchdog_devices "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com> - 2015-08-20 10:40 +0200 RE: [PATCH V3] Watchdog: Fix parent of watchdog_devices "Winkler, Tomas" <tomas.winkler@intel.com> - 2015-08-20 10:40 +0200 Re: [PATCH V3] Watchdog: Fix parent of watchdog_devices Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-02 12:10 +0200
csiph-web