mtd/ramtron.c: Table of parts is not terminated properly if CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined

This commit is contained in:
Gregory Nutt 2015-02-09 16:35:58 -06:00
parent 67bc1d465b
commit f3427cb32a
2 changed files with 3 additions and 2 deletions

3
TODO
View File

@ -888,7 +888,8 @@ o Network (net/, drivers/net)
PIC32 NO PIC32 NO
RGMP NO RGMP NO
SAM3/4 NO SAM3/4 NO
SAMA5D NO SAMA5D3 NO
SAMA5D4 YES <<
SIM N/A << Doesn't support interrupts SIM N/A << Doesn't support interrupts
The general outline of how this might be done is included in The general outline of how this might be done is included in

View File

@ -241,6 +241,7 @@ static const struct ramtron_parts_s g_ramtron_parts[] =
3, /* addr_len */ 3, /* addr_len */
RAMTRON_INIT_CLK_MAX /* speed */ RAMTRON_INIT_CLK_MAX /* speed */
}, },
#endif
{ {
NULL, /* name */ NULL, /* name */
0, /* id1 */ 0, /* id1 */
@ -249,7 +250,6 @@ static const struct ramtron_parts_s g_ramtron_parts[] =
0, /* addr_len */ 0, /* addr_len */
0 /* speed */ 0 /* speed */
} }
#endif
}; };
/************************************************************************************ /************************************************************************************