lkml.org 
[lkml]   [2009]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] samsung-laptop: should include delay.h
Date
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


\
 
 \ /
  Last update: 2009-08-25 13:27    [W:6.501 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site