summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-16 17:27:44 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 02:10:21 +0300
commitfb105d964226ce4834b45d7e3d9f339aa716ed70 (patch)
tree2327b4cd5e5e29f30bacd2966282b719fcc2fdfd /drivers/acpi
parent7f3b62cf945dc3e57fbd693022a5651206ce85b0 (diff)
downloadlinux-fb105d964226ce4834b45d7e3d9f339aa716ed70.tar.xz
acpi-video-detect: Make acpi_video_get_capabilities a private function
acpi_video_get_capabilities() is only used inside video_detect.c so make it static. While at it also remove the prototype for the non existent acpi_video_display_switch_support function from acpi.h 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')
-rw-r--r--drivers/acpi/video_detect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index bb78c9e16113..3af18beaea0a 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -184,7 +184,7 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
* all graphics capabilities of physically present devices are
* summarized and returned. This is cached and done only once.
*/
-long acpi_video_get_capabilities(acpi_handle graphics_handle)
+static long acpi_video_get_capabilities(acpi_handle graphics_handle)
{
long caps = 0;
struct acpi_device *tmp_dev;
@@ -227,7 +227,6 @@ long acpi_video_get_capabilities(acpi_handle graphics_handle)
graphics_handle ? acpi_device_bid(tmp_dev) : ""));
return caps;
}
-EXPORT_SYMBOL(acpi_video_get_capabilities);
static void acpi_video_caps_check(void)
{