diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index cf038431a5cc..db51a6ffb7d6 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -579,6 +579,8 @@ struct bcma_pflash { | |||
| 579 | }; | 579 | }; |
| 580 | 580 | ||
| 581 | #ifdef CONFIG_BCMA_SFLASH | 581 | #ifdef CONFIG_BCMA_SFLASH |
| 582 | struct mtd_info; | ||
| 583 | |||
| 582 | struct bcma_sflash { | 584 | struct bcma_sflash { |
| 583 | bool present; | 585 | bool present; |
| 584 | u32 window; | 586 | u32 window; |
| @@ -592,13 +594,9 @@ struct bcma_sflash { | |||
| 592 | #endif | 594 | #endif |
| 593 | 595 | ||
| 594 | #ifdef CONFIG_BCMA_NFLASH | 596 | #ifdef CONFIG_BCMA_NFLASH |
| 595 | struct mtd_info; | ||
| 596 | |||
| 597 | struct bcma_nflash { | 597 | struct bcma_nflash { |
| 598 | bool present; | 598 | bool present; |
| 599 | bool boot; /* This is the flash the SoC boots from */ | 599 | bool boot; /* This is the flash the SoC boots from */ |
| 600 | |||
| 601 | struct mtd_info *mtd; | ||
| 602 | }; | 600 | }; |
| 603 | #endif | 601 | #endif |
| 604 | 602 | ||
