Staticise and constify output names
This array isn't used anywhere outside this file, so it can be made static. While at it, make the array const as well. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
parent
a307ac2738
commit
190289f639
|
@ -961,22 +961,22 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
|
|||
SubPixelVerticalBGR,
|
||||
SubPixelNone };
|
||||
|
||||
const char *output_names[] = { "None",
|
||||
"VGA",
|
||||
"DVI",
|
||||
"DVI",
|
||||
"DVI",
|
||||
"Composite",
|
||||
"S-video",
|
||||
"LVDS",
|
||||
"CTV",
|
||||
"DIN",
|
||||
"DisplayPort",
|
||||
"HDMI",
|
||||
"HDMI",
|
||||
"TV",
|
||||
"eDP",
|
||||
"Virtual"
|
||||
static const char * const output_names[] = { "None",
|
||||
"VGA",
|
||||
"DVI",
|
||||
"DVI",
|
||||
"DVI",
|
||||
"Composite",
|
||||
"S-video",
|
||||
"LVDS",
|
||||
"CTV",
|
||||
"DIN",
|
||||
"DisplayPort",
|
||||
"HDMI",
|
||||
"HDMI",
|
||||
"TV",
|
||||
"eDP",
|
||||
"Virtual",
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue