thermal: imx8mm: Fix build warning of incorrect argument type
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 23 Mar 2020 14:19:16 +0000 (22:19 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 23 Mar 2020 14:33:52 +0000 (15:33 +0100)
commit76a5c400aae52f541737de982e2b5a2e1f423bab
treeaee801cd15f16805a3ab4075246974f387ea951b
parent40ea568593f20647e7d58deb7fcfa69b11a37d8b
thermal: imx8mm: Fix build warning of incorrect argument type

Fix below sparse warning:

drivers/thermal/imx8mm_thermal.c:82:36: sparse: sparse: incorrect type in argument 2 (different address spaces), expected unsigned long const volatile *addr
drivers/thermal/imx8mm_thermal.c:82:36: sparse: expected unsigned long const volatile *addr

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1584973156-25734-1-git-send-email-Anson.Huang@nxp.com
drivers/thermal/imx8mm_thermal.c