]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3662/1: ixp23xx: don't include asm/hardware.h in uncompress.h
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 27 Jun 2006 21:56:16 +0000 (22:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 28 Jun 2006 16:54:56 +0000 (17:54 +0100)
commitb3da5c634808897bfb96e324bfad2b54c45ed7cc
tree53e75380efdd207de95e219fd7882ce95f514bed
parent605d32cda77ad1c4df8fca3e5a365e5f72af3c6c
[ARM] 3662/1: ixp23xx: don't include asm/hardware.h in uncompress.h

Patch from Lennert Buytenhek

ixp23xx was including asm/hardware.h in its version of uncompress.h,
to get at the physical address of the debug UART, but this include was
causing various inline functions that are totally unrelated to the
decompressor, defined in headers in include/asm-arm/arch-ixp23xx, to
be included in the decompressor image.

Include asm/arch/ixp23xx.h instead, and move the sole inline function
in ixp23xx.h to another header.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ixp23xx/ixp23xx.h
include/asm-arm/arch-ixp23xx/platform.h
include/asm-arm/arch-ixp23xx/uncompress.h