netdev
[Top] [All Lists]

Re: [PATCH] ibmtr: fix init (devinit) section usage

To: Mike_Phillips@xxxxxxxxxxx
Subject: Re: [PATCH] ibmtr: fix init (devinit) section usage
From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
Date: Wed, 4 Aug 2004 14:12:21 -0700
Cc: jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, netdev-bounce@xxxxxxxxxxx
In-reply-to: <OF5BF82238.ABA1EE0F-ON85256EE6.0064AACC-85256EE6.0064C0D5@xxxxxxxxxxx>
Organization: OSDL
References: <20040804094905.667b3954.rddunlap@xxxxxxxx> <OF5BF82238.ABA1EE0F-ON85256EE6.0064AACC-85256EE6.0064C0D5@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 4 Aug 2004 14:20:31 -0400 Mike_Phillips@xxxxxxxxxxx wrote:

| Randy:
| 
| Does ibmtr_cs still compile with those changes ? It links in ibmtr.c and 
| the probe functions. 

Yes, it builds fine.  If HOTPLUG=y, __devinit means <emtpy>.
If HOTPLUG=n, it means __init.

Also note that ibmtr_probe1() is already marked as __devinit.

--
~Randy

<Prev in Thread] Current Thread [Next in Thread>