[patch 3/4] macintosh: replace deprecated __initcall with device_initcall

Michael Ellerman michael at ellerman.id.au
Thu May 15 16:28:28 EST 2008


On Wed, 2008-05-14 at 23:06 -0700, Andrew Morton wrote:
> On Thu, 15 May 2008 14:14:38 +1000 Paul Mackerras <paulus at samba.org> wrote:
> 
> > akpm at linux-foundation.org writes:
> > 
> > > -__initcall(adb_init);
> > > +device_initcall(adb_init);
> > 
> > There's no particular reason why this needs to go in 2.6.26, is there?
> > It looks to me like something that I should queue up for 2.6.27.
> > 
> 
> No, this make no difference in code generation - it's just a
> use-the-modern-interface thing.

I missed the memo about __initcall being deprecated, or is it only
deprecated for use in device drivers?

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080515/1e166771/attachment.pgp>


More information about the Linuxppc-dev mailing list