]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf6dd6ca911e1296426e8849e601ff9b969e8fb8
tree7bd8a4bd76676768a2c195a864d3afc30db6e543
parentd923bb783239663404a1f52e41b642ee715f37b6
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