From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id A2043DDE9F for ; Fri, 24 Aug 2007 03:58:31 +1000 (EST) In-Reply-To: <20070823173314.GA18412@ld0162-tx32.am.freescale.net> References: <75EDD900-3B5E-4D08-9311-13B6510EDE6E@kernel.crashing.org> <20070823024757.GC7042@localhost.localdomain> <20070823173314.GA18412@ld0162-tx32.am.freescale.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <924BAE00-7BB4-4BE8-8DF6-52B7807EFE2C@kernel.crashing.org> From: Kumar Gala Subject: Re: asm-ppc header issues when building ARCH=powerpc Date: Thu, 23 Aug 2007 13:00:24 -0500 To: Scott Wood Cc: "linuxppc-dev@ozlabs.org list" , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Aug 23, 2007, at 12:33 PM, Scott Wood wrote: > On Thu, Aug 23, 2007 at 12:47:57PM +1000, David Gibson wrote: >>> ./drivers/mtd/maps/tqm834x.c:#include >>> ./drivers/mtd/maps/pq2fads.c:#include >> >> Although these both have an extern of type bd_t (defined in >> ppcboot.h), afaict they don't actually use it, so these should be >> removable. > > They look like they're using it to me... See the bd->bi_flashstart > and > bd->bi_flashsize references in init_pq2fads_mtd. Both of these are dead in one way or another. pq2fads.c isn't in the makefile and you can't Kconfig tqm834x.c into existence. Thus my patch to remove them. - k