acpi-video-detect: Move acpi_osi_is_win8 to osl.c
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Jun 2015 14:27:46 +0000 (16:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jun 2015 23:10:31 +0000 (01:10 +0200)
commita87878bafa1f82c20eddaf2d23780b194c35ccf5
tree9e31b4148eb3e4475927bf0fb4cf2d81b54f42ed
parentadc8bb8e0fe005ed29366e6c4621652481878214
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>
drivers/acpi/internal.h
drivers/acpi/osl.c
drivers/acpi/video_detect.c
include/linux/acpi.h