[Precise] [PATCH 01/12] Revert "UBUNTU: SAUCE: samsung-laptop: disable in UEFI mode"

Brad Figg brad.figg at canonical.com
Fri Feb 1 22:45:41 UTC 2013


BugLink: http://bugs.launchpad.net/bugs/1111689

This reverts commit af3e234992e2a9a82ccd2b7692d61d5a47c5bece.
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
 drivers/platform/x86/samsung-laptop.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
index 2b6560c..1782cea 100644
--- a/drivers/platform/x86/samsung-laptop.c
+++ b/drivers/platform/x86/samsung-laptop.c
@@ -22,7 +22,6 @@
 #include <linux/platform_device.h>
 #include <linux/rfkill.h>
 #include <linux/acpi.h>
-#include <linux/efi.h>
 
 /*
  * This driver is needed because a number of Samsung laptops do not hook
@@ -825,9 +824,6 @@ static int __init samsung_init(void)
 	int loca;
 	int retval;
 
-	if (efi_enabled)
-		return -ENODEV;
-
 	mutex_init(&sabi_mutex);
 	handle_backlight = true;
 
-- 
1.7.9.5





More information about the kernel-team mailing list