summaryrefslogtreecommitdiff
path: root/include/linux/acpi.h
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 /include/linux/acpi.h
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 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 01bffd30c6c7..88c92a03a77e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -245,19 +245,12 @@ extern bool wmi_has_guid(const char *guid);
#if defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE)
-extern long acpi_video_get_capabilities(acpi_handle graphics_dev_handle);
extern long acpi_is_video_device(acpi_handle handle);
extern void acpi_video_dmi_promote_vendor(void);
extern int acpi_video_backlight_support(void);
-extern int acpi_video_display_switch_support(void);
#else
-static inline long acpi_video_get_capabilities(acpi_handle graphics_dev_handle)
-{
- return 0;
-}
-
static inline long acpi_is_video_device(acpi_handle handle)
{
return 0;
@@ -272,11 +265,6 @@ static inline int acpi_video_backlight_support(void)
return 0;
}
-static inline int acpi_video_display_switch_support(void)
-{
- return 0;
-}
-
#endif /* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */
extern int acpi_blacklisted(void);