acpi-video-detect: Move acpi_is_video_device() to acpi/scan.c
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Jun 2015 14:27:45 +0000 (16:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jun 2015 23:10:26 +0000 (01:10 +0200)
commitadc8bb8e0fe005ed29366e6c4621652481878214
tree7bd8a4bd76676768a2c195a864d3afc30db6e543
parentfb105d964226ce4834b45d7e3d9f339aa716ed70
acpi-video-detect: Move acpi_is_video_device() to acpi/scan.c

This allows video_detect.c to be build as a module, this is a preparation
patch for the backlight interface selection logic cleanup.

Note this commit also causes acpi_is_video_device() to always be build
indepedent of CONFIG_ACPI_VIDEO, as there is no reason to make its
building depend on CONFIG_ACPI_VIDEO.

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/scan.c
drivers/acpi/video_detect.c
include/linux/acpi.h