lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSat, 10 May 2008 02:04:59 +0100 (BST)
From"Maciej W. Rozycki" <>
Subject[PATCH] RTC: M41T80: Include <linux/kernel.h> for printk()
 The driver uses printk(), but does not include <linux/kernel.h> -- add
it.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
 By request of I2C maintainers I have made it a separate patch.  It should 
be obvious.  Please apply.
  Maciej

patch-2.6.26-rc1-20080505-m41t80-kernel-h-15
diff -up --recursive --new-file linux-2.6.26-rc1-20080505.macro/drivers/rtc/rtc-m41t80.c linux-2.6.26-rc1-20080505/drivers/rtc/rtc-m41t80.c
--- linux-2.6.26-rc1-20080505.macro/drivers/rtc/rtc-m41t80.c	2008-05-05 02:55:40.000000000 +0000
+++ linux-2.6.26-rc1-20080505/drivers/rtc/rtc-m41t80.c	2008-05-10 00:59:33.000000000 +0000
@@ -15,6 +15,7 @@
 
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/i2c.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2008-05-10 01:09    [W:0.060 / U:1.480 seconds]
©2003-2008 Jasper Spaans