lkml.org 
[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 8/9]Four new i2c drivers and __init/__exit cleanup to i2c
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.210 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site