From: Stephen Rothwell Date: Thu, 16 Aug 2012 05:16:05 +0000 (+1000) Subject: regulator: using kfree() requires including slab.h X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^5~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f52a5800ab8f47a9bc430e21d5af84b6c290423;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed