mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-12 02:22:55 +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;
|
} FlashInfo;
|
||||||
|
|
||||||
/************************** Variable Definitions *****************************/
|
/************************** Variable Definitions *****************************/
|
||||||
|
#ifdef __rtems__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
FlashInfo Flash_Config_Table[] = {
|
FlashInfo Flash_Config_Table[] = {
|
||||||
/* Spansion */
|
/* Spansion */
|
||||||
/*s25fl064l*/
|
/*s25fl064l*/
|
||||||
|
|||||||
Reference in New Issue
Block a user