MarvellEmbeddedProcessors / linux-marvell

Marvell Linux kernel
Other
91 stars 68 forks source link

Failed to compile the driver using the directory drivers/staging/gd5f_spinand/gd5f_spinand.c under linux-4.44.120-armada-18.09.2 #22

Open maykolo opened 2 years ago

maykolo commented 2 years ago

Hello, I am using the linux-4.44.120-armada-18.09.2 version of the kernel, then I use make menuconfig and select SPINAND Device Support For Gidadevice under Staging drivers under Device Drivers. After saving and exiting, then use make (The ARCH and CROSS_COMPILE have been specified) Can you see the error after the error? The first error when I compile it is /drivers/staging/gd5f_spinand/gd5f_spinand.c:37:151: error:variable 'ecc_layout_4KB_bit' has initializer but incomplete type static struct nand_ecclayout ecc_layout_4KB_8bit = {