mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
bsps/dev/spi/xqspipsu_flash_config.h: Make flash config table static
This is now used by multiple files and can cause a multiple definitions error when linking. Make the structure static to avoid this problem.
This commit is contained in:
committed by
Kinsey Moore
parent
de8da59ba1
commit
7ebcccf199
@@ -215,6 +215,9 @@ typedef struct{
|
||||
} FlashInfo;
|
||||
|
||||
/************************** Variable Definitions *****************************/
|
||||
#ifdef __rtems__
|
||||
static
|
||||
#endif
|
||||
FlashInfo Flash_Config_Table[] = {
|
||||
/* Spansion */
|
||||
/*s25fl064l*/
|
||||
|
||||
Reference in New Issue
Block a user