aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bcma/bcma_driver_chipcommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/bcma/bcma_driver_chipcommon.h')
-rw-r--r--include/linux/bcma/bcma_driver_chipcommon.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h
index bed89694c5f9..9810d4b29abf 100644
--- a/include/linux/bcma/bcma_driver_chipcommon.h
+++ b/include/linux/bcma/bcma_driver_chipcommon.h
@@ -519,6 +519,16 @@ struct bcma_sflash {
519}; 519};
520#endif 520#endif
521 521
522#ifdef CONFIG_BCMA_NFLASH
523struct mtd_info;
524
525struct bcma_nflash {
526 bool present;
527
528 struct mtd_info *mtd;
529};
530#endif
531
522struct bcma_serial_port { 532struct bcma_serial_port {
523 void *regs; 533 void *regs;
524 unsigned long clockspeed; 534 unsigned long clockspeed;
@@ -542,6 +552,9 @@ struct bcma_drv_cc {
542#ifdef CONFIG_BCMA_SFLASH 552#ifdef CONFIG_BCMA_SFLASH
543 struct bcma_sflash sflash; 553 struct bcma_sflash sflash;
544#endif 554#endif
555#ifdef CONFIG_BCMA_NFLASH
556 struct bcma_nflash nflash;
557#endif
545 558
546 int nr_serial_ports; 559 int nr_serial_ports;
547 struct bcma_serial_port serial_ports[4]; 560 struct bcma_serial_port serial_ports[4];