diff mbox

Fix compile error for tps6507x.c due to implicit declarations of kfree / kzalloc

Message ID 1276247069-3526-1-git-send-email-ng@max01.eu (mailing list archive)
State Rejected
Headers show

Commit Message

ng@max01.eu June 11, 2010, 9:04 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c
index dcddef0..dbaab1a 100644
--- a/drivers/mfd/tps6507x.c
+++ b/drivers/mfd/tps6507x.c
@@ -20,6 +20,7 @@ 
 #include <linux/i2c.h>
 #include <linux/mfd/core.h>
 #include <linux/mfd/tps6507x.h>
+#include <linux/slab.h>
 
 static struct mfd_cell tps6507x_devs[] = {
 	{