[PATCH] ARM: pxa3xx: fix build error when CONFIG_MTD_PARTITIONS is not defined

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark F. Brown
Date: Thursday, August 26, 2010 - 1:56 am

If CONFIG_MTD_PARTITIONS is not defined for pxa3xx NAND driver it will display a build error:

drivers/built-in.o: In function `pxa3xx_nand_remove':
drivers/mtd/nand/pxa3xx_nand.c:1367: undefined reference to `del_mtd_partitions'
drivers/built-in.o: In function `pxa3xx_nand_probe':
drivers/mtd/nand/pxa3xx_nand.c:1334: undefined reference to `add_mtd_partitions'
make: *** [.tmp_vmlinux1] Error 1

Patched against Eric Miao's pxa tree

Mark F. Brown (1):
  ARM: pxa3xx: fix build error when CONFIG_MTD_PARTITIONS is not
    defined

 drivers/mtd/nand/pxa3xx_nand.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ARM: pxa3xx: fix build error when CONFIG_MTD_PARTI ..., Mark F. Brown, (Thu Aug 26, 1:56 am)