RE: 2.6.3 compilation problem

Liu, Benjamin
2004-03-12T09:15:09Z

Yes, I agree.

Thanks,
Pingping (Benjamin) Liu
Intel China Software Center

>-----Original Message-----
>From: Keith Owens [mailto:kaos@ocs.com.au]
>Sent: 2004Äê3ÔÂ12ÈÕ 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.
>
>