| Submitter | Colin King |
|---|---|
| Date | Dec. 19, 2012, 10:08 p.m. |
| Message ID | <1355954898-15402-5-git-send-email-colin.king@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/207532/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index dd90d15..215e5f6 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c @@ -27,6 +27,7 @@ #include <linux/debugfs.h> #include <linux/ctype.h> #include <acpi/video.h> +#include <linux/efi.h> /* * This driver is needed because a number of Samsung laptops do not hook @@ -1534,6 +1535,9 @@ static int __init samsung_init(void) struct samsung_laptop *samsung; int ret; + if (efi_enabled) + return -ENODEV; + quirks = &samsung_unknown; if (!force && !dmi_check_system(samsung_dmi_table)) return -ENODEV;