Mercurial > flash_v2
changeset 1712:42611e3b4e77
* include/flash_sst_39vfxxx.inl: The structure declared by
CYG_FLASH_FUNS should be static so we can instantiate the
driver multiple times.
| author | asl |
|---|---|
| date | Fri, 06 Aug 2004 13:11:33 +0000 |
| parents | 3bafac44ac03 |
| children | c73c316b8a2e |
| files | packages/devs/flash/sst/39vfxxx/current/ChangeLog packages/devs/flash/sst/39vfxxx/current/include/flash_sst_39vfxxx.inl |
| diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/flash/sst/39vfxxx/current/ChangeLog +++ b/packages/devs/flash/sst/39vfxxx/current/ChangeLog @@ -1,3 +1,9 @@ +2004-08-06 Andrew Lunn <andrew.lunn@ascom.ch> + + * include/flash_sst_39vfxxx.inl: The structure declared by + CYG_FLASH_FUNS should be static so we can instantiate the + driver multiple times. + 2004-08-04 Andrew Lunn <andrew.lunn@ascom.ch> * include/flash_sst_39vfxxx.inl: Added support for the SST39VF160
--- a/packages/devs/flash/sst/39vfxxx/current/include/flash_sst_39vfxxx.inl +++ b/packages/devs/flash/sst/39vfxxx/current/include/flash_sst_39vfxxx.inl @@ -344,7 +344,7 @@ sst_program(struct cyg_flash_dev *dev, c return res; } -CYG_FLASH_FUNS(cyg_sst_funs, +static CYG_FLASH_FUNS(cyg_sst_funs, sst_init, sst_query, sst_erase_block,
