Stephen Rothwell wrote: > On Mon, 14 Jan 2008 23:15:41 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > >> I keep getting these link(?) warnings: >> >> WARNING: vmlinux.o(.data+0x16178): Section mismatch: reference to >> .init.text:emac_of_bus_notify (between 'emac_of_bus_notifier' and >> 'emac_phy_map_lock') >> > > emac_of_bus_notify is marked __devinit and is referred to by > emac_of_bus_notifier (which is not marked thus) (in > drivers/net/ibm_newemac/core.c). > Adding the __devinit to emacs_of_bus_notifier causes a problem with emac_phy_map_lock (a mutex). But removing the __devinit from emac_of_bus_notify cleans up that warning. Is the __devinit really necessary?
Cheers, Sean _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev