linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [CBUS PATCH 1/2] cbus: fix compilation with current mainline
@ 2010-05-01 18:01 Felipe Balbi
  2010-05-01 18:01 ` [CBUS PATCH 2/2] cbus: switch kmalloc() + memset() to kzalloc() Felipe Balbi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Felipe Balbi @ 2010-05-01 18:01 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, Felipe Balbi

From: Felipe Balbi <me@felipebalbi.com>

commit 5a0e3ad6af8660be21ca98a971cd00f331318c05 broke
compilation of the retu-pwrbutton driver when it dropped
implicit inclusion of slab.h and gfp.h.

Fix it by including slab.h on retu-pwrbutton.c, while at
that, also include slab.h on retu-rtc.c to avoid later
problems with implicit inclusion of that being dropped.

Compile tested with n770_defconfig and n8x0_defconfig

Signed-off-by: Felipe Balbi <me@felipebalbi.com>
---
 drivers/cbus/retu-pwrbutton.c |    1 +
 drivers/cbus/retu-rtc.c       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/cbus/retu-pwrbutton.c b/drivers/cbus/retu-pwrbutton.c
index 2d8cf40..f0cd056 100644
--- a/drivers/cbus/retu-pwrbutton.c
+++ b/drivers/cbus/retu-pwrbutton.c
@@ -34,6 +34,7 @@
 #include <linux/jiffies.h>
 #include <linux/bitops.h>
 #include <linux/platform_device.h>
+#include <linux/slab.h>
 
 #include "retu.h"
 
diff --git a/drivers/cbus/retu-rtc.c b/drivers/cbus/retu-rtc.c
index b0a0f3d..b3974e2 100644
--- a/drivers/cbus/retu-rtc.c
+++ b/drivers/cbus/retu-rtc.c
@@ -36,6 +36,7 @@
 #include <linux/device.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
+#include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/completion.h>
 #include <linux/platform_device.h>
-- 
1.7.1.rc2.7.g3e7f1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-06  8:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01 18:01 [CBUS PATCH 1/2] cbus: fix compilation with current mainline Felipe Balbi
2010-05-01 18:01 ` [CBUS PATCH 2/2] cbus: switch kmalloc() + memset() to kzalloc() Felipe Balbi
2010-05-03  7:15   ` Jarkko Nikula
2010-05-04  1:19   ` [APPLIED] " Tony Lindgren
2010-05-03  7:15 ` [CBUS PATCH 1/2] cbus: fix compilation with current mainline Jarkko Nikula
2010-05-04  1:19 ` [APPLIED] " Tony Lindgren
2010-05-05 15:05 ` [CBUS PATCH 1/1] CBUS: Fix broken compilation Carlos Chinea
2010-05-05 18:38   ` Felipe Balbi
2010-05-05 19:00   ` Felipe Balbi
2010-05-06  8:25     ` Carlos Chinea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).