Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Aug 2002 19:20:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Aug 2002 19:20:31 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:30735 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Thu, 29 Aug 2002 19:20:30 -0400 Message-ID: <3D6EAD3B.6030108@mandrakesoft.com> Date: Thu, 29 Aug 2002 19:24:43 -0400 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adrian Bunk CC: Dave Hansen , Michael Obster , linux-kernel@vger.kernel.org Subject: Re: Compiling 2.5.32 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 36 Adrian Bunk wrote: > Jeff Garzik doesn't want 1. until "someone actually tells me they are > trying to hot-plug such a card" and he didn't apply the following patch to > #ifdef the .remove away if the driver is compiled statically into the > kernel: > > > --- drivers/net/tulip/de2104x.c.old 2002-08-30 01:06:09.000000000 +0200 > +++ drivers/net/tulip/de2104x.c 2002-08-30 01:06:45.000000000 +0200 > @@ -2216,7 +2216,9 @@ > .name = DRV_NAME, > .id_table = de_pci_tbl, > .probe = de_init_one, > +#ifdef MODULE > .remove = de_remove_one, > +#endif > #ifdef CONFIG_PM > .suspend = de_suspend, > .resume = de_resume, You missed my recent message, I think. Currently in 2.5.x, you should be able to replace that #ifdef with __devexit_p -- without changing the de_remove_one prototype. I updated the definition of __devexit_p in 2.5.30 or so. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/