tmp_suning_uos_patched/drivers/mtd/onenand
Paul Walmsley ea5d8f42a3 ARM: OMAP2+: fix build breakage introduced by commit b7754452b3
Commit b7754452b3 ("mtd: onenand: omap:
use pdata info instead of cpu_is") broke an OMAP3+4 build and an N800
multi-OMAP2xxx build here:

drivers/built-in.o: In function `omap2_onenand_probe':
drivers/mtd/onenand/omap2.c:742: undefined reference to `omap2_onenand_read_bufferram'
drivers/mtd/onenand/omap2.c:743: undefined reference to `omap2_onenand_write_bufferram'
drivers/mtd/onenand/omap2.c:742: undefined reference to `omap2_onenand_read_bufferram'
drivers/mtd/onenand/omap2.c:743: undefined reference to `omap2_onenand_write_bufferram'

...

drivers/built-in.o: In function `omap2_onenand_probe':
drivers/mtd/onenand/omap2.c:788: undefined reference to `omap3_onenand_read_bufferram'
drivers/mtd/onenand/omap2.c:788: undefined reference to `omap3_onenand_write_bufferram'

Fix by declaring static functions for the missing symbols, rather than
just prototypes.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Afzal Mohammed <afzal@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
2012-10-26 13:16:30 -06:00
..
generic.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00
Kconfig MTD: Relax dependencies 2012-03-25 00:29:56 +01:00
Makefile mtd: add Samsung SoC OneNAND driver 2010-05-14 01:51:20 +01:00
omap2.c ARM: OMAP2+: fix build breakage introduced by commit b7754452b3 2012-10-26 13:16:30 -06:00
onenand_base.c mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN 2012-05-13 23:14:23 -05:00
onenand_bbt.c Merge git://git.infradead.org/mtd-2.6 2011-11-07 09:11:16 -08:00
onenand_sim.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
samsung.c mtd: do not use plain 0 as NULL 2012-03-27 00:53:20 +01:00