From: David Brownell Subject: Re: [PATCH 3/4] Blackfin SPI driver: move hard coded pin_req to board file Date: Mon, 5 Nov 2007 22:03:42 -0800 Message-ID: <200711052203.42855.david-b@pacbell.net> References: <1193971112-7744-1-git-send-email-bryan.wu@analog.com> <1193971112-7744-4-git-send-email-bryan.wu@analog.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bryan Wu Return-path: In-Reply-To: <1193971112-7744-4-git-send-email-bryan.wu-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Thursday 01 November 2007, Bryan Wu wrote: > --- a/include/asm-blackfin/bfin5xx_spi.h > +++ b/include/asm-blackfin/bfin5xx_spi.h > @@ -152,6 +152,7 @@ > =A0struct bfin5xx_spi_master { > =A0=A0=A0=A0=A0=A0=A0=A0u16 num_chipselect; > =A0=A0=A0=A0=A0=A0=A0=A0u8 enable_dma; > +=A0=A0=A0=A0=A0=A0=A0u16 pin_req[4]; > =A0}; > =A0 > =A0/* spi_board_info.controller_data for SPI slave devices, I take it there's a patch some where -- outside of this set of four -- to initialize that new field so drivers will get valid pin setup data? (That name doesn't sound like it's platform data, by the way.) That's going to need to merge in sync with this patch, else I'd think the resulting kernel won't run ... - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/