linux-next: build failure after merge of the spi-nor tree

From: Stephen Rothwell
Date: Tue Jun 20 2017 - 22:19:35 EST


Hi Cyrille,

After merging the spi-nor tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/mtd/spi-nor/aspeed-smc.c: In function 'aspeed_smc_chip_set_segment':
drivers/mtd/spi-nor/aspeed-smc.c:554:14: error: 'SZ_128M' undeclared (first use in this function)
size == SZ_128M) {
^

Caused by commit

bb3a588d2151 ("mtd: spi-nor: aspeed: configure chip window on AHB bus")

Forgot to include linux/sizes.h.

I have used the spi-nor tree from next-20170620 for today.

--
Cheers,
Stephen Rothwell