Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 15 Sep 2002 19:11:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 15 Sep 2002 19:11:52 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:44043 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Sun, 15 Sep 2002 19:11:51 -0400 Message-ID: <3D8514C0.1030705@mandrakesoft.com> Date: Sun, 15 Sep 2002 19:16:16 -0400 From: Jeff Garzik Organization: MandrakeSoft User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Albert Cranford CC: Linus Torvalds , Kernel mailing list Subject: Re: [patch 8/9]Four new i2c drivers and __init/__exit cleanup to i2c 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: 1092 Lines: 42 Albert Cranford wrote: > --- linux/drivers/i2c/i2c-adap-ibm_ocp.c.orig 2002-09-13 01:16:58.000000000 -0400 > +++ linux-2.5.34/drivers/i2c/i2c-adap-ibm_ocp.c 2002-09-15 01:13:57.000000000 -0400 > @@ -90,6 +90,14 @@ > static wait_queue_head_t iic_wait[IIC_NUMS]; > static int iic_pending; > > +#ifdef MODULE > +static > +#else > +extern > +#endif > + int __init iic_ibmocp_init(void); > +static void __exit iic_ibmocp_exit(void); > + ug, don't add this crap to the codebase... > --- linux/drivers/i2c/i2c-algo-8xx.c.orig 2002-09-13 01:17:07.000000000 -0400 > +++ linux-2.5.34/drivers/i2c/i2c-algo-8xx.c 2002-09-13 01:47:42.000000000 -0400 > @@ -51,6 +51,13 @@ > int cpm_scan = 1; > int cpm_debug = 0; > > +#ifdef MODULE > +static > +#else > +extern > +#endif > + int __init i2c_algo_8xx_init (void); > + likewise [repeated many times] - 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/