samsung-laptop: should include delay.h
Subsystems (2)
PATCH 1/1 samsung-laptop: should include delay.h
Fix this build error:drivers/platform/x86/samsung-laptop.c:141: error: implicit declaration of function 'msleep'
Signed-off-by Alexander Beregalov <[email protected]>
--- drivers/platform/x86/samsung-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/platform/x86/samsung-laptop.c +1 -0
@@ -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
Signature · 1 line
1.6.4
Quoted 13 lines · Alexander Beregalov
Fix this build error:
drivers/platform/x86/samsung-laptop.c:141: error: implicit declaration of function 'msleep'Signed-off-by Alexander Beregalov <[email protected]>--- drivers/platform/x86/samsung-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/platform/x86/samsung-laptop.c +0
-0
drivers/platform/x86/samsung-laptop.c line 20
Quoted 4 lines
drivers/platform/x86/samsung-laptop.c +1
-0@@ -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