aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-16 16:28:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 01:12:50 +0200
commite7d024c00a4a7b617390db863bdd5b9dc65821f7 (patch)
tree75f9f722ccdfc7251b0978da465c9824d9a51f83 /drivers/acpi
parentacpi-video-detect: Remove old API (diff)
downloadlinux-dev-e7d024c00a4a7b617390db863bdd5b9dc65821f7.tar.xz
linux-dev-e7d024c00a4a7b617390db863bdd5b9dc65821f7.zip
ACPI / video: Make acpi_video_unregister_backlight() private
acpi_video_unregister_backlight() is now only used by video_detect.c which is part of the same acpi_video module as video.c, make acpi_video_unregister_backlight() private to this module. 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/acpi_video.c1
-rw-r--r--drivers/acpi/video_detect.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c
index 5b877a127167..8c2fe2f2f9fd 100644
--- a/drivers/acpi/acpi_video.c
+++ b/drivers/acpi/acpi_video.c
@@ -2021,7 +2021,6 @@ void acpi_video_unregister_backlight(void)
}
mutex_unlock(&register_count_mutex);
}
-EXPORT_SYMBOL(acpi_video_unregister_backlight);
/*
* This is kind of nasty. Hardware using Intel chipsets may require
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index c3925790203b..815f75ef2411 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -37,6 +37,8 @@
ACPI_MODULE_NAME("video");
#define _COMPONENT ACPI_VIDEO_COMPONENT
+void acpi_video_unregister_backlight(void);
+
static bool backlight_notifier_registered;
static struct notifier_block backlight_nb;