* [PATCH] ARM: SAMSUNG: Fix compile error due to kfree
@ 2011-10-28 21:45 jhbird.choi at gmail.com
2011-11-02 11:57 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: jhbird.choi at gmail.com @ 2011-10-28 21:45 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: SAMSUNG: Fix compile error due to kfree
2011-10-28 21:45 [PATCH] ARM: SAMSUNG: Fix compile error due to kfree jhbird.choi at gmail.com
@ 2011-11-02 11:57 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2011-11-02 11:57 UTC (permalink / raw)
To: linux-arm-kernel
jhbird.choi at 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-02 11:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28 21:45 [PATCH] ARM: SAMSUNG: Fix compile error due to kfree jhbird.choi at gmail.com
2011-11-02 11:57 ` Kukjin Kim
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).