[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <544AC56F16B56944AEC3BD4E3D5917712E568FBD9E@LIMKCMBX1.ad.analog.com>
Date: Wed, 12 May 2010 21:53:37 +0100
From: "Hennerich, Michael" <Michael.Hennerich@...log.com>
To: Randy Dunlap <randy.dunlap@...cle.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH -mmotm] misc: fix ad525X_dpot build
Randy Dunlap wrote on 2010-05-12:
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Add slab.h to fix build:
>
> drivers/misc/ad525x_dpot.c:609: error: implicit declaration of
> function 'kzalloc'
> drivers/misc/ad525x_dpot.c:609: warning: assignment makes pointer from
> integer without a cast
> drivers/misc/ad525x_dpot.c:656: error: implicit declaration of
> function 'kfree'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> Cc: Michael Hennerich <michael.hennerich@...log.com>
Acked-by: Michael Hennerich <michael.hennerich@...log.com>
Thanks!
> ---
> drivers/misc/ad525x_dpot.c | 1 +
> 1 file changed, 1 insertion(+)
> --- mmotm-2010-0511-1820.orig/drivers/misc/ad525x_dpot.c
> +++ mmotm-2010-0511-1820/drivers/misc/ad525x_dpot.c
> @@ -70,6 +70,7 @@
> #include <linux/kernel.h>
> #include <linux/init.h>
> #include <linux/delay.h>
> +#include <linux/slab.h>
>
> #define DRIVER_VERSION "0.2"
Greetings,
Michael
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 4036 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists