diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-16 16:28:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-19 01:12:50 +0200 |
commit | e7d024c00a4a7b617390db863bdd5b9dc65821f7 (patch) | |
tree | 75f9f722ccdfc7251b0978da465c9824d9a51f83 /drivers/acpi | |
parent | acpi-video-detect: Remove old API (diff) | |
download | linux-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.c | 1 | ||||
-rw-r--r-- | drivers/acpi/video_detect.c | 2 |
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(®ister_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; |