Re: drm/radeon/combios: declare legacy_connector_convert as static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 23, 2014 at 12:04 PM, Michele Curti <michele.curti@xxxxxxxxx> wrote:
>
> legacy_connector_convert is used in radeon_combios.c only, so declare it as static.
>
> Signed-off-by: Michele Curti <michele.curti@xxxxxxxxx>

Applied both patches.  thanks!

Alex

>
> diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
> index 6651177..3e5f6b7 100644
> --- a/drivers/gpu/drm/radeon/radeon_combios.c
> +++ b/drivers/gpu/drm/radeon/radeon_combios.c
> @@ -116,7 +116,7 @@ enum radeon_combios_connector {
>         CONNECTOR_UNSUPPORTED_LEGACY
>  };
>
> -const int legacy_connector_convert[] = {
> +static const int legacy_connector_convert[] = {
>         DRM_MODE_CONNECTOR_Unknown,
>         DRM_MODE_CONNECTOR_DVID,
>         DRM_MODE_CONNECTOR_VGA,
> --
> 2.1.0
>
> Regards,
> Michele
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux