* [PATCH] samsung-laptop: should include delay.h
@ 2009-08-25 9:55 Alexander Beregalov
2009-08-26 16:13 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-08-25 9:55 UTC (permalink / raw)
To: gregkh, linux-kernel; +Cc: Alexander Beregalov
Fix this build error:
drivers/platform/x86/samsung-laptop.c:141: error: implicit declaration of function 'msleep'
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/platform/x86/samsung-laptop.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index c6f9a86..19e0ef2 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -17,6 +17,7 @@
#include <linux/fb.h>
#include <linux/dmi.h>
#include <linux/platform_device.h>
+#include <linux/delay.h>
/*
* This driver is needed because a number of Samsung laptops do not hook
--
1.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] samsung-laptop: should include delay.h
2009-08-25 9:55 [PATCH] samsung-laptop: should include delay.h Alexander Beregalov
@ 2009-08-26 16:13 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-08-26 16:13 UTC (permalink / raw)
To: Alexander Beregalov; +Cc: gregkh, linux-kernel
On Tue, Aug 25, 2009 at 01:55:00PM +0400, Alexander Beregalov wrote:
> Fix this build error:
> drivers/platform/x86/samsung-laptop.c:141: error: implicit declaration of function 'msleep'
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
> drivers/platform/x86/samsung-laptop.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
> index c6f9a86..19e0ef2 100644
> --- a/drivers/platform/x86/samsung-laptop.c
> +++ b/drivers/platform/x86/samsung-laptop.c
> @@ -17,6 +17,7 @@
> #include <linux/fb.h>
> #include <linux/dmi.h>
> #include <linux/platform_device.h>
> +#include <linux/delay.h>
Thanks, I've merged this with the main version of the driver, the next
time it shows up in linux-next (it is currently removed from there at
the moment), it will have this change in it.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-26 16:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25 9:55 [PATCH] samsung-laptop: should include delay.h Alexander Beregalov
2009-08-26 16:13 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox