RE: 2.6.3 compilation problem

From: Liu, Benjamin <benjamin.liu_at_intel.com>
Date: 2004-03-12 20:15:09
Yes, I agree.

Thanks,
Pingping (Benjamin) Liu
Intel China Software Center


>-----Original Message-----
>From: Keith Owens [mailto:kaos@ocs.com.au] 
>Sent: 2004312 14:01
>To: H. J. Lu
>Cc: Liu, Benjamin; Chen, Kenneth W; Sourav Sen; 
>linux-ia64@vger.kernel.org
>Subject: Re: 2.6.3 compilation problem 
>
>
>On Thu, 11 Mar 2004 21:42:04 -0800, 
>"H. J. Lu" <hjl@lucon.org> wrote:
>>which means it will be discarded if the driver is builtin. If
>>xxx_remove may be discarded, please make sure there is
>>
>>#ifdef MODULE
>>	remove:	       xxx_remove,
>>#endif
>>
>>so that xxx_remove won't be included when the driver is builtin.
>
>	remove:		__devexit_p(xxx_remove),
>
>is the correct method.  The pointer is required for CONFIG_MODULE
>_or_ CONFIG_HOTPLUG, otherwise it must be set to NULL.  __devexit_p()
>does all that.
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 12 04:17:40 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST