[ARM] 5208/1: fsg-setup.c fixes
authorTomasz Chmielewski <mangoo@wpkg.org>
Tue, 19 Aug 2008 08:54:20 +0000 (09:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 Aug 2008 15:56:42 +0000 (16:56 +0100)
commitd90c1add96a038fc45c7239017ba4f9a9a5ca42b
tree8889cb26cb6d70a6705ca28669f885b2bfba67cb
parent1a1dc50442ef1a3e5ef938a8541466ac38d163a9
[ARM] 5208/1: fsg-setup.c fixes

This patch against 2.6.27-rc3 does the following changes to FSG-3 setup code:

1) Enable RTC on FSG-3 (proper name is needed). This change is needed due to a recent change in i2c.

2) i variable is only used when compiling for big endian.
So move its declaration to ARMEB ifdef to silence the warning when compiling for LE.

Mailing list link:
http://lists.arm.linux.org.uk/lurker/message/20080813.091556.cae2917e.en.html

Signed-off-by: Tomasz Chmielewski <mangoo@wpkg.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/fsg-setup.c