diff options
author | Borislav Petkov <bp@suse.de> | 2015-06-24 13:01:49 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-24 20:59:28 +0300 |
commit | eddda195dd9272224a8e6112881829ed74ffef5b (patch) | |
tree | 2307375ff30030b7148d09f03a8ef845afe33c84 | |
parent | e7d024c00a4a7b617390db863bdd5b9dc65821f7 (diff) | |
download | linux-eddda195dd9272224a8e6112881829ed74ffef5b.tar.xz |
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>
-rw-r--r-- | include/acpi/video.h | 2 |
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 |