
5 Jan
2019
5 Jan
'19
2:56 a.m.
On Sat, 15 Dec 2018 at 05:22, Peng Fan peng.fan@nxp.com wrote:
+Simon
-----Original Message----- From: Peng Fan Sent: 2018年12月15日 20:20 To: sbabic@denx.de Cc: Fabio Estevam fabio.estevam@nxp.com; u-boot@lists.denx.de; dl-uboot-imx uboot-imx@nxp.com; Peng Fan peng.fan@nxp.com Subject: [PATCH 3/5] misc: imx8: scu: use platdata instead of priv data
priv data has not been allocated when doing bind, so it is wrong to use dev_get_priv in bind call back.
Let's switch to use platdata in the driver to fix the issue.
Signed-off-by: Peng Fan peng.fan@nxp.com
drivers/misc/imx8/scu.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org