From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 6 Oct 2009 12:28:31 +0100 Subject: [PATCH] SA1100: fix building of h3100 In-Reply-To: <20091006125318.d430a642.kristoffer.ericson@gmail.com> References: <1254765034-29849-1-git-send-email-mad_soft@inbox.ru> <20091006125318.d430a642.kristoffer.ericson@gmail.com> Message-ID: <20091006112831.GA15695@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Oct 06, 2009 at 12:53:18PM +0200, Kristoffer Ericson wrote: > On Mon, 5 Oct 2009 21:50:34 +0400 > Dmitry Artamonow wrote: > > > Both iPaqs h3100 and h3600 currently share the same source > > file - h3600.c But Makefile builds it only if CONFIG_SA1100_H3600 > > selected, so selecting just CONFIG_SA1100_H3100 results in > > "no machine record defined" message and aborted compilation. > > > > Fix it. > > Acked If there are people seriously looking at H3[16]00 stuff, it would be a good idea to move it over to use the proper GPIO support rather than continue to rely upon its own version. Also maybe splitting it into h3100.c and h3600.c, with (if any) common bits in h3xxx.c might be an idea?