aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-16 10:27:46 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-18 19:10:31 -0400
commita87878bafa1f82c20eddaf2d23780b194c35ccf5 (patch)
tree9e31b4148eb3e4475927bf0fb4cf2d81b54f42ed /drivers/acpi/video_detect.c
parentadc8bb8e0fe005ed29366e6c4621652481878214 (diff)
acpi-video-detect: Move acpi_osi_is_win8 to osl.c
acpi_osi_is_win8 needs access to acpi_gbl_osi_data which is not exported, so move it to osl.c. Alternatively we could export acpi_gbl_osi_data but that seems undesirable. This allows video_detect.c to be build as a module, besides that acpi_osi_is_win8() is something which does not really belong in video_detect.c in the first place. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video_detect.c')
-rw-r--r--drivers/acpi/video_detect.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 5076138156fd..b2270ca21538 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -178,12 +178,6 @@ static void acpi_video_caps_check(void)
178 acpi_video_get_capabilities(NULL); 178 acpi_video_get_capabilities(NULL);
179} 179}
180 180
181bool acpi_osi_is_win8(void)
182{
183 return acpi_gbl_osi_data >= ACPI_OSI_WIN_8;
184}
185EXPORT_SYMBOL(acpi_osi_is_win8);
186
187/* Promote the vendor interface instead of the generic video module. 181/* Promote the vendor interface instead of the generic video module.
188 * This function allow DMI blacklists to be implemented by externals 182 * This function allow DMI blacklists to be implemented by externals
189 * platform drivers instead of putting a big blacklist in video_detect.c 183 * platform drivers instead of putting a big blacklist in video_detect.c