linux/drivers/mtd/chips
Brian Norris bde90062a3 mtd: chips: fixup dependencies, to prevent build error
Commit 4612c715a6 ("mtd: cfi: deinline large functions") moved some
code into the cfi_util library without creating a new dependency. So we
can get build failures like the following, when CONFIG_MTD_JEDECPROBE=y
and CONFIG_MTD_CFI_UTIL=m.

   drivers/built-in.o: In function `jedec_read_id':
>> jedec_probe.c:(.text+0x187ed8): undefined reference to `cfi_build_cmd_addr'
   drivers/built-in.o: In function `jedec_read_mfr':
>> jedec_probe.c:(.text+0x187f4a): undefined reference to `cfi_build_cmd_addr'
   drivers/built-in.o: In function `jedec_reset':
>> jedec_probe.c:(.text+0x187fe0): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x188004): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x18802b): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x18804e): undefined reference to `cfi_send_gen_cmd'
   drivers/built-in.o: In function `jedec_probe_chip':
>> jedec_probe.c:(.text+0x188130): undefined reference to `cfi_build_cmd_addr'
>> jedec_probe.c:(.text+0x18814d): undefined reference to `cfi_build_cmd_addr'
>> jedec_probe.c:(.text+0x1881dc): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x188203): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x18822d): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x1884c0): undefined reference to `cfi_send_gen_cmd'
>> jedec_probe.c:(.text+0x1884e7): undefined reference to `cfi_send_gen_cmd'
   drivers/built-in.o:jedec_probe.c:(.text+0x188511): more undefined references to `cfi_send_gen_cmd' follow
   drivers/built-in.o: In function `jedec_probe_chip':
>> jedec_probe.c:(.text+0x188618): undefined reference to `cfi_build_cmd'

So let's express the dependency properly.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-05-28 11:07:48 -07:00
..
cfi_cmdset_0001.c mtd: delete unnecessary checks before two function calls 2014-11-25 22:44:10 -08:00
cfi_cmdset_0002.c mtd: cfi_cmdset_0002: Initialize datum before calling map_word_load_partial 2015-05-27 12:47:37 -07:00
cfi_cmdset_0020.c mtd: cfi: clean up some indenting 2015-03-30 18:01:04 -07:00
cfi_probe.c mtd: cfi: Remove unnecessary OOM messages 2014-03-10 22:42:25 -07:00
cfi_util.c mtd: cfi: deinline large functions 2015-05-27 12:42:16 -07:00
chipreg.c mtd: simplify return logic in do_map_probe() 2012-03-27 00:35:06 +01:00
fwh_lock.h mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
gen_probe.c mtd: gen_probe: Remove unnecessary OOM messages 2014-03-10 22:42:25 -07:00
jedec_probe.c mtd: jedec_probe: fix LH28F640BF definition 2013-08-05 21:04:17 +01:00
Kconfig mtd: chips: fixup dependencies, to prevent build error 2015-05-28 11:07:48 -07:00
Makefile
map_absent.c mtd: remove retlen zeroing duplication 2012-03-27 00:29:34 +01:00
map_ram.c mtd: map_ram: Enable mtdoops 2015-01-09 15:31:56 -08:00
map_rom.c mtd: map_rom: Support UBI on ROM 2015-01-09 23:24:27 -08:00