From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v4] uio/pdrv_genirq: Add OF support Date: Tue, 3 May 2011 22:34:12 +0200 Message-ID: <20110503203412.GA2119@pengutronix.de> References: <1304319115-32745-1-git-send-email-monstr@monstr.eu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2334315965113131043==" Return-path: In-Reply-To: <1304319115-32745-1-git-send-email-monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Michal Simek Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, hjk-vqZO0P4V72/QD6PfKP4TzA@public.gmane.org, john.williams-g5w7nrANp4BDPfheJLI6IQ@public.gmane.org List-Id: devicetree@vger.kernel.org --===============2334315965113131043== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 02, 2011 at 08:51:55AM +0200, Michal Simek wrote: > Adding OF binding to genirq. > Version string is setup to the "devicetree". >=20 > Compatible string is not setup for now but you can add your > custom compatible string to uio_of_genirq_match structure. >=20 > For example with "vendor,device" compatible string: > static const struct of_device_id __devinitconst uio_of_genirq_match[] =3D= { > { .compatible =3D "vendor,device", }, > { /* empty for now */ }, > }; >=20 > Signed-off-by: Michal Simek [...] > + /* alloc uioinfo for one device */ > + uioinfo =3D kzalloc(sizeof(*uioinfo), GFP_KERNEL); kfree in remove? --=20 Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3AZsQACgkQD27XaX1/VRvr3ACeOaGboYXohsqIqkX2f3Fy+PzR CaMAniiz7f9MDArwGEHEa66/TiM+2LJt =Odmy -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- --===============2334315965113131043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============2334315965113131043==--