Am 08.10.2014 10:58, schrieb Eric Anholt:
> Signed-off-by: Eric Anholt <[email protected]>
> ---
>  hw/xfree86/drivers/modesetting/drmmode_display.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c 
> b/hw/xfree86/drivers/modesetting/drmmode_display.c
> index ca02a4d..d959837 100644
> --- a/hw/xfree86/drivers/modesetting/drmmode_display.c
> +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
> @@ -976,7 +976,9 @@ static const xf86OutputFuncsRec drmmode_output_funcs = {
>      .destroy = drmmode_output_destroy
>  };
>  
> -static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
> +static int subpixel_conv_table[7] = {
> +    0,
> +    SubPixelUnknown,


maybe the [7] can be removed ?
re,
 wh

>      SubPixelHorizontalRGB,
>      SubPixelHorizontalBGR,
>      SubPixelVerticalRGB,
> @@ -984,7 +986,8 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
>      SubPixelNone
>  };
>  
> -static const char *const output_names[] = { "None",
> +static const char *const output_names[] = {
> +    "None",
>      "VGA",
>      "DVI",
>      "DVI",
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to