linux/arch/avr32/mach-at32ap/include/mach
Paul Gortmaker 3d92e05118 avr32: fix build failures from mis-naming of atmel_nand.h
Commit bf4289cba0 ("ATMEL: fix nand ecc support") indicated that it
wanted to "Move platform data to a common header
include/linux/platform_data/atmel_nand.h" and the new header even had
re-include protectors with:

    #ifndef __ATMEL_NAND_H__

However, the file that was added was simply called atmel.h
and this caused avr32 defconfig to fail with:

  In file included from arch/avr32/boards/atstk1000/setup.c:22:
  arch/avr32/mach-at32ap/include/mach/board.h:10:44: error: linux/platform_data/atmel_nand.h: No such file or directory
  In file included from arch/avr32/boards/atstk1000/setup.c:22:
  arch/avr32/mach-at32ap/include/mach/board.h:121: warning: 'struct atmel_nand_data' declared inside parameter list
  arch/avr32/mach-at32ap/include/mach/board.h:121: warning: its scope is only this definition or declaration, which is probably not what you want
  make[2]: *** [arch/avr32/boards/atstk1000/setup.o] Error 1

It seems the scope of the file contents will expand beyond
just nand, so ignore the original intention, and fix up the
users who reference the bad name with the _nand suffix.

CC: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
CC: David Woodhouse <dwmw2@infradead.org>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-02 14:41:25 -07:00
..
at32ap700x.h avr32: add pin mask for 18-bit color on the LCD controller 2009-03-26 14:49:39 +01:00
atmel-mci.h dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes 2012-02-22 18:15:39 +05:30
board.h avr32: fix build failures from mis-naming of atmel_nand.h 2012-04-02 14:41:25 -07:00
chip.h avr32: Introduce <mach/chip.h> 2008-08-08 12:41:56 +02:00
cpu.h ARM: at91: code removal of CAP9 SoC 2012-02-03 13:33:05 +01:00
gpio.h
hmatrix.h avr32: Clean up HMATRIX code 2008-08-08 12:44:01 +02:00
init.h
io.h avr32: use the new byteorder headers 2008-09-22 09:51:00 +02:00
irq.h
pm.h
portmux.h avr32: Allow reserving multiple pins at once 2009-01-05 12:16:13 +01:00
smc.h
sram.h