]> Pileus Git - ~andy/linux/blobdiff - drivers/acpi/video_detect.c
net: sunhme: use pci_{get,set}_drvdata()
[~andy/linux] / drivers / acpi / video_detect.c
index e6bd910bc6edee4b55e3b6de7888bdd5c5ec06f6..c3397748ba466ca13f41c664b4c374c7dea5d028 100644 (file)
@@ -38,6 +38,8 @@
 #include <linux/dmi.h>
 #include <linux/pci.h>
 
+#include "internal.h"
+
 #define PREFIX "ACPI: "
 
 ACPI_MODULE_NAME("video");
@@ -234,6 +236,12 @@ static void acpi_video_caps_check(void)
                acpi_video_get_capabilities(NULL);
 }
 
+bool acpi_video_backlight_quirks(void)
+{
+       return acpi_gbl_osi_data >= ACPI_OSI_WIN_8;
+}
+EXPORT_SYMBOL(acpi_video_backlight_quirks);
+
 /* Promote the vendor interface instead of the generic video module.
  * This function allow DMI blacklists to be implemented by externals
  * platform drivers instead of putting a big blacklist in video_detect.c