From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH] drm: sti: use drm_platform_set_busid() helper Date: Mon, 13 Jun 2016 18:00:25 +0200 Message-ID: <20160613160025.GA8386@ulmo.ba.sec> References: <1465832895-10485-1-git-send-email-benjamin.gaignard@linaro.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0826836415==" Return-path: Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id AAE3F6E527 for ; Mon, 13 Jun 2016 16:00:29 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id r5so15978637wmr.0 for ; Mon, 13 Jun 2016 09:00:29 -0700 (PDT) In-Reply-To: <1465832895-10485-1-git-send-email-benjamin.gaignard@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Benjamin Gaignard Cc: vincent.abriou@st.com, fabien.dessenne@st.com, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0826836415== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 13, 2016 at 05:48:15PM +0200, Benjamin Gaignard wrote: > Fill set_busid field with drm_platform_set_busid helper function >=20 > Signed-off-by: Benjamin Gaignard > --- > drivers/gpu/drm/sti/sti_drv.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 =3D { > .driver_features =3D DRIVER_HAVE_IRQ | DRIVER_MODESET | > DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, > .load =3D sti_load, > + .set_busid =3D drm_platform_set_busid, You're not supposed to use these anymore. Use drm_dev_alloc() and drm_dev_register() instead. Thierry --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXXtiXAAoJEN0jrNd/PrOhN4EP/2IR9sbEg5OGl0nN8aGtSgaF 060UNCAr0OBb5cRh4Na5TOzJMpRRTj1qE8XS48wpoy6PrNvymk9qNOkd+clGyXwq QHiSbPrUyQq9ILTiEMMFVUhIr0Yce6i3uBC2zsMZ+rKPan/ftU2n0ZjRaGkNL4sK zUXqN/4KMPNoULa2Iy/UutnZkH0J3BvQh4U9pyhMGCgz1cWy1EqBJPM2LLbmZ7KF DoVHpgMp5Gb4Nzke+e9clJtkOresxL1cXyOHqCOMC+dDHd8403qHLF58iBq/fSOS xY2omk94ZRBGGZMMYhmMmRPzY6ymGoAdiWxFEXHSq420BrcleamIbXLBAyYJWFQk MnFu8QxlyAJDpz0H7z9QsBX7ZVOjWFBQGjHoA7jK+hoM1sBsWgO3jCFnpbl4YI6F xPBh56m963yj78K3mbaIda1OYpz/K8ZEHxpM7OlAgnStQean/lP3Fvjijkcmsmj9 L+g47xZZ2MLJowku+IFTxCzpQszeV8vicsru0m2AuhTe5J39ZCF3T+f85iRAkmgH MteZMWAc/xsGo2hyJm3wu5+GAHuRYQCFISNagUMYskvqYPER0VbBTD65pqbc3i57 PgiMK2Rf5Mqituk8fblrKbpFV1/A/RwEK0CEFavHnPS9eMb5fcmTtfM7BWwAyn1l 1B2pO9M4GOci1b8Jd6NI =5xrC -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- --===============0826836415== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0826836415==--