lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] ARM: SAMSUNG: Fix compile error due to kfree
Date
jhbird.choi@gmail.com wrote:
>
> From: Jonghwan Choi <jhbird.choi@gmail.com>
>
> Fix implicit declaration of function 'kfree'
>
> Signed-off-by: Jonghwan Choi <jhbird.choi@gmail.com>
> ---
> arch/arm/plat-samsung/dev-backlight.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/plat-samsung/dev-backlight.c
b/arch/arm/plat-samsung/dev-
> backlight.c
> index 3cedd4c..2adbeae 100644
> --- a/arch/arm/plat-samsung/dev-backlight.c
> +++ b/arch/arm/plat-samsung/dev-backlight.c
> @@ -14,6 +14,7 @@
> #include <linux/platform_device.h>
> #include <linux/io.h>
> #include <linux/pwm_backlight.h>
> +#include <linux/slab.h>
>
> #include <plat/devs.h>
> #include <plat/gpio-cfg.h>
> --
> 1.7.0.4

Yes, applied.

But would be better if you could add description in detail......

Fix following build error.
arch/arm/plat-samsung/dev-backlight.c: In function 'samsung_bl_set':
arch/arm/plat-samsung/dev-backlight.c:145: error: implicit declaration
of function 'kfree'

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.



\
 
 \ /
  Last update: 2011-11-02 12:59    [W:0.034 / U:42.652 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site