summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2011-11-24 12:57:17 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-24 10:47:56 +0000
commit156843470c4b9ea9698cc245d2cff769b3784088 (patch)
tree7c053ae02d28cf55cdd38c21a35cfed7ecba0a47 /init
parent69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 (diff)
regulator: Fix compile break due to missing arguments to regulator_register
The commit 2c043bcbf287 ("regulator: pass additional of_node to regulator_register()") caused a compile break because it missed updating the regulator_register() call in gpio-regulator.c with the additional parameter (NULL). The compile break as reported by Stephen Rothwell with the x86_64 allmodconfig looked like this drivers/regulator/gpio-regulator.c: In function 'gpio_regulator_probe': drivers/regulator/gpio-regulator.c:287:8: error: too few arguments to function 'regulator_register' include/linux/regulator/driver.h:215:23: note: declared here Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions