]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: using kfree() requires including slab.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 16 Aug 2012 05:16:05 +0000 (15:16 +1000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Aug 2012 10:49:13 +0000 (11:49 +0100)
commitd299229b045e9e47c87d29bb32ce0f5be4db2c79
treec0bb86150aede31fe6f936e6944cc53025fe31cd
parent3eb4cb2f17723b601a8637c6fbec5a493a9b0836
regulator: using kfree() requires including slab.h

Fixes this build error:

drivers/regulator/twl-regulator.c: In function 'twlreg_probe':
drivers/regulator/twl-regulator.c:1229:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]

Also added string.h for kmemdup().

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/twl-regulator.c