lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 1 Jun 2009 19:24:32 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Russell King - ARM Linux <linux@....linux.org.uk>
Cc:	Janboe Ye <yuan-bo.ye@...orola.com>,
	linux-arm-kernel@...ts.arm.linux.org.uk,
	linux-kernel@...r.kernel.org, jwboyer@...ux.vnet.ibm.com,
	grant.likely@...retlab.ca, paulus@...ba.org
Subject: Re: [RFC] [PATCH] Device Tree on ARM platform

On Sun, 31 May 2009 11:08:43 +0100 Russell King - ARM Linux <linux@....linux.org.uk> wrote:
>
> > diff --git a/arch/arm/include/asm/of_platform.h b/arch/arm/include/asm/of_platform.h
> > new file mode 100644
> > index 0000000..53b4650
> > --- /dev/null
> > +++ b/arch/arm/include/asm/of_platform.h
> > +/* Platform drivers register/unregister */
> > +static inline int of_register_platform_driver(struct of_platform_driver *drv)
> > +{
> > +	return of_register_driver(drv, &of_platform_bus_type);
> > +}
> > +static inline void of_unregister_platform_driver(struct of_platform_driver *drv)
> > +{
> > +	of_unregister_driver(drv);
> > +}
> 
> Not sure why this isn't generic code.

They are both in include/linux/of_platform.h since commit
0763ed2355198cdef2f6a2098e9d52eb1fe4365d ("of: make
of_(un)register_platform_driver common code") - added to Linus' tree
on May 5.

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ