summaryrefslogtreecommitdiffstats
path: root/include/acpi/video.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-06-24 12:01:49 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-24 19:59:28 +0200
commiteddda195dd9272224a8e6112881829ed74ffef5b (patch)
tree2307375ff30030b7148d09f03a8ef845afe33c84 /include/acpi/video.h
parentACPI / video: Make acpi_video_unregister_backlight() private (diff)
downloadlinux-eddda195dd9272224a8e6112881829ed74ffef5b.tar.xz
linux-eddda195dd9272224a8e6112881829ed74ffef5b.zip
ACPI / video: Inline acpi_video_set_dmi_backlight_type
... and kill this: In file included from drivers/gpu/drm/radeon/radeon_acpi.c:29:0: include/acpi/video.h:46:13: warning: ‘acpi_video_set_dmi_backlight_type’ defined but not used [-Wunused-function] static void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type) ^ Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/video.h')
-rw-r--r--include/acpi/video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/video.h b/include/acpi/video.h
index a7d7f1043e9c..e840b294c6f5 100644
--- a/include/acpi/video.h
+++ b/include/acpi/video.h
@@ -43,7 +43,7 @@ static inline enum acpi_backlight_type acpi_video_get_backlight_type(void)
{
return acpi_backlight_vendor;
}
-static void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type)
+static inline void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type)
{
}
#endif