nvmem: imx-ocotp: Fix assignment warning.
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 2 Jun 2016 11:19:44 +0000 (12:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 14:42:55 +0000 (07:42 -0700)
commite2402b1d214e5d50e807773563d590115a161f45
tree72262b4b858c037fca1bf733bfa13cf33b8984bb
parent63c0c076e590ed83050c80ada2e82adeac9de126
nvmem: imx-ocotp: Fix assignment warning.

This patch fixes below error if the driver is compiled with 64 bit
machine configuration.

"drivers/nvmem/imx-ocotp.c:102:14: warning: assignment makes integer
from pointer without a cast"

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/imx-ocotp.c