2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/include/linux/platform_data
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
..
atmel.h avr32: fix build failures from mis-naming of atmel_nand.h 2012-04-02 14:41:25 -07:00
cpsw.h netdev: driver: ethernet: Add TI CPSW driver 2012-03-19 18:02:05 -04:00
dwc3-exynos.h usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00
dwc3-omap.h usb: dwc3: omap: distinguish between SW and HW modes 2011-09-09 13:02:45 +03:00
efm32-uart.h serial/efm32: add new driver 2012-01-26 11:29:47 -08:00
exynos4_tmu.h hwmon: Add driver for EXYNOS4 TMU 2011-10-24 11:09:35 -07:00
fsa9480.h drivers/misc: add support the FSA9480 USB Switch 2011-07-25 20:57:14 -07:00
leds-renesas-tpu.h drivers/leds/leds-renesas-tpu.c: move Renesas TPU LED driver platform data 2011-10-31 17:30:55 -07:00
macb.h ARM: at91/boards: use -EINVAL for invalid gpio 2011-11-29 15:46:14 +00:00
msm_serial_hs.h
mv_usb.h USB: EHCI: Add Marvell Host Controller driver 2011-12-20 12:58:13 +02:00
ntc_thermistor.h doc: fix broken references 2011-09-27 18:08:04 +02:00
omap4-keypad.h Input: omap4-keypad - move platform_data to <linux/platform_data> 2012-03-16 22:49:46 -07:00
omap-abe-twl6040.h include: platform_data: Platform data header for OMAP4 ASoC audio 2012-01-26 15:39:09 +02:00
pxa_sdhci.h mmc: sdhci-pxa: move platform data to include/linux/platform_data 2011-07-20 17:20:52 -04:00
s3c-hsudc.h usb: gadget: s3c-hsudc: move platform_data struct to global header 2011-12-21 13:24:27 +02:00
spear_thermal.h thermal: add support for thermal sensor present on SPEAr13xx machines 2012-03-22 01:05:32 -04:00
tegra_emc.h ARM: tegra: emc: convert tegra2_emc to a platform driver 2012-02-06 18:24:59 -08:00
tegra_usb.h
uio_pruss.h