[PATCH] IBM ocp I2C

Armin akuster at pacbell.net
Thu May 2 03:05:42 EST 2002


andrew may wrote:
> This patch is also needed to get it to compile. I forgot
> to check things after I removed the stuff from the headers.
>
>
> ------------------------------------------------------------------------
>
> # This is a BitKeeper generated patch for the following project:
> # Project Name: Linux 2.4 for PowerPC development tree
> # This patch format is intended for GNU patch command version 2.5 or higher.
> # This patch includes the following deltas:
> #	           ChangeSet	1.966   -> 1.967
> #	drivers/i2c/i2c-adap-ibm_ocp.c	1.2     -> 1.3
> #
> # The following is the BitKeeper ChangeSet Log
> # --------------------------------------------
> # 02/04/24	amay at infosec-server.infosec	1.967
> # remove dead code
> # --------------------------------------------
> #
> diff -Nru a/drivers/i2c/i2c-adap-ibm_ocp.c b/drivers/i2c/i2c-adap-ibm_ocp.c
> --- a/drivers/i2c/i2c-adap-ibm_ocp.c	Wed Apr 24 11:21:27 2002
> +++ b/drivers/i2c/i2c-adap-ibm_ocp.c	Wed Apr 24 11:21:27 2002
> @@ -304,8 +304,6 @@
>        iic_ibmocp_data[i]->data = (struct iic_regs *)iic_ibmocp_adaps[i];
>        iic_ibmocp_data[i]->setiic = iic_ibmocp_setbyte;
>        iic_ibmocp_data[i]->getiic = iic_ibmocp_getbyte;
> -      iic_ibmocp_data[i]->getown = 0;
> -      iic_ibmocp_data[i]->getclock = 0;
>        iic_ibmocp_data[i]->waitforpin = iic_ibmocp_waitforpin;
>        iic_ibmocp_data[i]->udelay = 80;
>        iic_ibmocp_data[i]->mdelay = 80;
>

Andrew,

the entier ibm_ibmocp_data has beeen removed, found other ways arround it


Armin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list