Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20973 closed defect (fixed)

bcm53xx target broken after mtd update in 47624

Reported by: arokh Owned by: developers
Priority: high Milestone:
Component: kernel Version: Trunk
Keywords: Cc:

Description

  CC      drivers/mtd/spi-nor/bcm53xxspiflash.o
In file included from drivers/mtd/spi-nor/bcm53xxspiflash.c:4:0:
include/linux/mtd/spi-nor.h:155:19: error: field 'mtd' has incomplete type
  struct mtd_info  mtd;
                   ^
drivers/mtd/spi-nor/bcm53xxspiflash.c: In function 'bcm53xxspiflash_probe':
drivers/mtd/spi-nor/bcm53xxspiflash.c:197:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  nor->write_reg = bcm53xxspiflash_write_reg;
                 ^
make[8]: *** [drivers/mtd/spi-nor/bcm53xxspiflash.o] Error 1
make[7]: *** [drivers/mtd/spi-nor] Error 2
make[6]: *** [drivers/mtd] Error 2
make[5]: *** [drivers] Error 2
make[5]: Leaving directory `/home/user/trunk/mydir/r8000/build_dir/target-arm_cortex-a9_musl-1.1.11_eabi/linux-bcm53xx/linux-4.1.13'

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r47653

comment:2 Changed 2 years ago by rmilecki

Partially fixed in r47653, we still need to backport https://patchwork.ozlabs.org/patch/548964/
[PATCH] mtd: spi-nor: include mtd.h header for struct mtd_info definition

In file included from drivers/mtd/spi-nor/bcm53xxspiflash.c:4:0:
include/linux/mtd/spi-nor.h:155:19: error: field 'mtd' has incomplete type
  struct mtd_info  mtd;
Last edited 2 years ago by rmilecki (previous) (diff)

comment:3 Changed 2 years ago by rmilecki

Fully fixed in r47665.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.