]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: bd718xx: fix build warning on x86_64
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 2 Oct 2018 07:16:50 +0000 (10:16 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 2 Oct 2018 14:58:11 +0000 (15:58 +0100)
commit6ab7b94d7964178c16c12c7ed25a7b3625f9e00d
treec60b0ab0dd2ab23fd0f515565c9f16d3221fd8f9
parentf7a6356e438d605ec5b71b289dc407562bb51f08
regulator: bd718xx: fix build warning on x86_64

Casting address to unsigned int causes a warning on some 64 bit
architectures. Fix the cast.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mfd/rohm-bd718x7.c