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,
|
SubPixelVerticalBGR,
|
||||||
SubPixelNone };
|
SubPixelNone };
|
||||||
|
|
||||||
const char *output_names[] = { "None",
|
static const char * const output_names[] = { "None",
|
||||||
"VGA",
|
"VGA",
|
||||||
"DVI",
|
"DVI",
|
||||||
"DVI",
|
"DVI",
|
||||||
"DVI",
|
"DVI",
|
||||||
"Composite",
|
"Composite",
|
||||||
"S-video",
|
"S-video",
|
||||||
"LVDS",
|
"LVDS",
|
||||||
"CTV",
|
"CTV",
|
||||||
"DIN",
|
"DIN",
|
||||||
"DisplayPort",
|
"DisplayPort",
|
||||||
"HDMI",
|
"HDMI",
|
||||||
"HDMI",
|
"HDMI",
|
||||||
"TV",
|
"TV",
|
||||||
"eDP",
|
"eDP",
|
||||||
"Virtual"
|
"Virtual",
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue