RE: sisusb: Use static const, fix typo

2014-02-25 Thread David Laight
From: Joe Perches [ > On Mon, 2014-02-24 at 10:26 +, David Laight wrote: > > From: Joe Perches > > > Reduce text a bit by using static const. > > > > If you want to save a few bytes remove the pointers. > > (and the fixed RAM text to get below 7 chars). > > Hi David. > > > eg: > > > > > - co

Re: sisusb: Use static const, fix typo

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 10:26 +, David Laight wrote: > From: Joe Perches > > Reduce text a bit by using static const. > > If you want to save a few bytes remove the pointers. > (and the fixed RAM text to get below 7 chars). Hi David. > eg: > > > - const char *ramtypetext2[] = { "SDR SDRAM"

RE: sisusb: Use static const, fix typo

2014-02-24 Thread David Laight
From: Joe Perches > Reduce text a bit by using static const. If you want to save a few bytes remove the pointers. (and the fixed RAM text to get below 7 chars). eg: > - const char *ramtypetext2[] = { "SDR SDRAM", "SDR SGRAM", > - "DDR SDRAM", "DDR SGRAM" }