File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
#include <linux/acpi.h>
28
28
#include <acpi/video.h>
29
29
#include <linux/uaccess.h>
30
+ #include <linux/string_choices.h>
30
31
31
32
#define ACPI_VIDEO_BUS_NAME "Video Bus"
32
33
#define ACPI_VIDEO_DEVICE_NAME "Video Device"
@@ -2039,9 +2040,9 @@ static int acpi_video_bus_add(struct acpi_device *device)
2039
2040
2040
2041
pr_info ("%s [%s] (multi-head: %s rom: %s post: %s)\n" ,
2041
2042
ACPI_VIDEO_DEVICE_NAME , acpi_device_bid (device ),
2042
- video -> flags .multihead ? "yes" : "no" ,
2043
- video -> flags .rom ? "yes" : "no" ,
2044
- video -> flags .post ? "yes" : "no" );
2043
+ str_yes_no ( video -> flags .multihead ) ,
2044
+ str_yes_no ( video -> flags .rom ) ,
2045
+ str_yes_no ( video -> flags .post ) );
2045
2046
mutex_lock (& video_list_lock );
2046
2047
list_add_tail (& video -> entry , & video_bus_head );
2047
2048
mutex_unlock (& video_list_lock );
You can’t perform that action at this time.
0 commit comments