2010-08-05 05:56:57

by David Miller

[permalink] [raw]
Subject: [PATCH] mfd: Missing slab.h includes


Signed-off-by: David S. Miller <[email protected]>
---

I'm getting build failures with Linus's current tree without
these. Apologies if this is already fixed and just queued up
in a GIT tree somewhere.

diff --git a/drivers/mfd/janz-cmodio.c b/drivers/mfd/janz-cmodio.c
index 9ed6307..36a166b 100644
--- a/drivers/mfd/janz-cmodio.c
+++ b/drivers/mfd/janz-cmodio.c
@@ -18,6 +18,7 @@
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
+#include <linux/slab.h>
#include <linux/mfd/core.h>

#include <linux/mfd/janz.h>


2010-08-05 16:26:16

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH] mfd: Missing slab.h includes

Hi Dave,

On Wed, Aug 04, 2010 at 10:57:14PM -0700, David Miller wrote:
>
> Signed-off-by: David S. Miller <[email protected]>
> ---
>
> I'm getting build failures with Linus's current tree without
> these. Apologies if this is already fixed and just queued up
> in a GIT tree somewhere.
No this is not queued in my tree, I haven't seen this build failure.
Patch applied, many thanks.

Cheers,
Samuel.


> diff --git a/drivers/mfd/janz-cmodio.c b/drivers/mfd/janz-cmodio.c
> index 9ed6307..36a166b 100644
> --- a/drivers/mfd/janz-cmodio.c
> +++ b/drivers/mfd/janz-cmodio.c
> @@ -18,6 +18,7 @@
> #include <linux/interrupt.h>
> #include <linux/delay.h>
> #include <linux/platform_device.h>
> +#include <linux/slab.h>
> #include <linux/mfd/core.h>
>
> #include <linux/mfd/janz.h>

--
Intel Open Source Technology Centre
http://oss.intel.com/