]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8660: fix build warnings
authorDaniel Mack <zonque@gmail.com>
Thu, 8 Aug 2013 10:02:18 +0000 (12:02 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 8 Aug 2013 10:43:10 +0000 (11:43 +0100)
commitcc4bbecea2cd8b2b6828ca32609e50e321c74645
treefc725cd3031a71ba29db586e001a34f720efbe8b
parentb16d8e4d97eb9f760b1b1d32db2d071e05f3a197
regulator: max8660: fix build warnings

Fix a build warning for !CONFIG_OF and a cast from void* to
unsigned int which is invalid on 64bit machines.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8660.c