Re: [PATCH] kernel 2.6.11.6 - I2C adaptor for ColdFire 5282 CPU

From: Andrew Morton
Date: Sun Apr 10 2005 - 18:55:34 EST


"Derek Cheung" <derek.cheung@xxxxxxxxxxxx> wrote:
>
> Enclosed please find the updated patch that incorporates changes for all
> the comments I received.
>
> The volatile declaration in the m528xsim.h is needed because the
> declaration refers to the ColdFire 5282 register mapping. The volatile
> declaration is actually not needed in my I2C driver but someone may
> include the m528xsim.h file in his/her applications and we need to force
> the compiler not to do any optimization on the register mapping.

- Please reissue the changelog each time you reissue a patch.

- This patch adds tons of trailing whitespace.

- It breaks the x86 build. I did this:

--- 25/drivers/i2c/busses/Kconfig~i2c-adaptor-for-coldfire-5282-cpu-fix 2005-04-10 16:52:08.000000000 -0700
+++ 25-akpm/drivers/i2c/busses/Kconfig 2005-04-10 16:52:18.000000000 -0700
@@ -31,7 +31,7 @@ config I2C_ALI1563

config I2C_MCF5282LITE
tristate "MCF5282Lite"
- depends on I2C && EXPERIMENTAL
+ depends on I2C && EXPERIMENTAL && PPC
help
If you say yes to this option, support will be included for the
I2C on the ColdFire MCF5282Lite Development Board
_


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/