diff options
| author | Reinhard Meyer <[email protected]> | 2010-10-05 16:56:39 +0200 |
|---|---|---|
| committer | Mike Frysinger <[email protected]> | 2010-10-12 21:08:25 -0400 |
| commit | 0d3fe2b1534cd202a97e2a2dda403a9b24b169d3 (patch) | |
| tree | 55c0c5752f2a86c53e4de2d8592b173c16a51602 /include/linux/string.h | |
| parent | 076f1be8e1c1a1ea4760fc4ac7cac68bc28fc80d (diff) | |
sf: turn probe switch into a lookup table
This allows for arbitrarily long manufacturer ids following the JEDEC
standard of 0x7f continuation bytes. It also makes adding new entries
easier as it's just one element in an array. The downside is that it
increases code size a bit, but we're talking ~50 bytes.
Signed-off-by: Reinhard Meyer <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
