[PATCH] Renaming 'struct flash_platform_data' into 'struct spi_flash_platform_data' in include/linux/spi/flash.h

Baruch Siach baruch at tkos.co.il
Sat Nov 20 23:47:20 EST 2010


Hi Alexis,

On Fri, Nov 19, 2010 at 06:23:09PM +0100, Alexis RODET wrote:
> > It would, however, be nice if _someone_ out there could produce a patch
> Here is the patch and here is the command line used for doing this:

You need to CC the MTD maintainer and mailing list (David Woodhouse 
<dwmw2 at infradead.org>, and linux-mtd at lists.infradead.org respectively), and 
maybe also the SPI subsystem maintainers (David Brownell 
<dbrownell at users.sourceforge.net>, Grant Likely <grant.likely at secretlab.ca>, 
spi-devel-general at lists.sourceforge.net).

baruch

> find . \( -name .git -prune -false -o -path \
> ./include/linux/spi/flash.h \ -o \( -name \*.c -execdir grep -q \
> '#include <linux/spi/flash.h>' \{\} \; \) \) -execdir sed -i -e \
> 's/struct flash_platform_data/struct spi_flash_platform_data/' \
> \{\} \+ -execdir git add \{\} \+ -print
> 
> I didn't test all compilations as I don't have blackfin compiler installed.
> I compiled successfully for x86 with allyesconfig and for Freescale mx27
> with allmodconfig minus some incompatible drivers.

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the linux-arm-kernel mailing list