[PATCH v3] mfd: rk808: add reboot support to rk808.c
Lee Jones
lee.jones at linaro.org
Tue Dec 21 00:48:43 PST 2021
On Mon, 20 Dec 2021, Frank Wunderlich wrote:
> Hi
>
> > Gesendet: Montag, 20. Dezember 2021 um 15:46 Uhr
> > Von: "Peter Geis" <pgwipeout at gmail.com>
> > @@ -749,6 +791,9 @@ static int rk808_remove(struct i2c_client *client)
> > if (pm_power_off == rk808_pm_power_off)
> > pm_power_off = NULL;
> >
> > + if (of_property_read_bool(np, "rockchip,system-power-controller"))
> > + unregister_restart_handler(&rk808_restart_handler);
> > +
> > return 0;
> > }
>
> this change misses a declaration
>
> struct device_node *np = client->dev.of_node;
How did this compile when you tested it?
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the Linux-rockchip
mailing list