[PATCH] drm: sti: use drm_platform_set_busid() helper

Thierry Reding thierry.reding at gmail.com
Mon Jun 13 16:00:25 UTC 2016


On Mon, Jun 13, 2016 at 05:48:15PM +0200, Benjamin Gaignard wrote:
> Fill set_busid field with drm_platform_set_busid helper function
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> ---
>  drivers/gpu/drm/sti/sti_drv.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c
> index b440617..98d67b4 100644
> --- a/drivers/gpu/drm/sti/sti_drv.c
> +++ b/drivers/gpu/drm/sti/sti_drv.c
> @@ -304,6 +304,7 @@ static struct drm_driver sti_driver = {
>  	.driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET |
>  	    DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC,
>  	.load = sti_load,
> +	.set_busid = drm_platform_set_busid,

You're not supposed to use these anymore. Use drm_dev_alloc() and
drm_dev_register() instead.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160613/2ffa8a91/attachment.sig>


More information about the dri-devel mailing list