Subject: linux-next: build failure after merge of the nand tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 8 Sep 2020 13:35:36 +1000

Hi all,

After merging the nand tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c: In function 'common_nfc_set_geometry':
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: error: 'chip' undeclared (first use in this function)
  513 |   nanddev_get_ecc_requirements(&chip->base);
      |                                 ^~~~
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c:513:33: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

  aa5faaa5f95c ("mtd: rawnand: Use nanddev_get/set_ecc_requirements() when relevant")

I have used the nand tree from next-20200903 for today.

-- 
Cheers,
Stephen Rothwell