diff mbox

Fix compile error for rtc-davinci due to implicit declarations of kfree / kzalloc

Message ID 1276012193-8499-1-git-send-email-kbingham@mpc-data.co.uk (mailing list archive)
State Changes Requested
Headers show

Commit Message

Kieran Bingham June 8, 2010, 3:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c
index 92a8f6c..34647fc 100644
--- a/drivers/rtc/rtc-davinci.c
+++ b/drivers/rtc/rtc-davinci.c
@@ -29,6 +29,7 @@ 
 #include <linux/bcd.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
+#include <linux/slab.h>
 
 /*
  * The DaVinci RTC is a simple RTC with the following