diff packages/devs/flash/atmel/dataflash/current/include/dataflash.h @ 1764:96ec7e534d98

V2 flash header files clean-up. Eliminate flash_priv.h, moving the functionality into flash_dev.h instead.
author bartv
date Tue, 22 Feb 2005 21:03:43 +0000
parents a8729175ad24
children ef75ad79dfe3
line wrap: on
line diff
--- a/packages/devs/flash/atmel/dataflash/current/include/dataflash.h
+++ b/packages/devs/flash/atmel/dataflash/current/include/dataflash.h
@@ -98,8 +98,8 @@ typedef struct cyg_dataflash_device_s
 
 //----------------------------------------------------------------------------
 
-#ifdef _FLASH_PRIVATE_
 #include <cyg/io/flash.h>
+#include <cyg/io/flash_dev.h>
 
 typedef struct cyg_dataflash_flash_dev_priv_s
 {
@@ -128,8 +128,6 @@ externC struct cyg_flash_dev_funs cyg_da
                      cyg_dataflash_priv_ ## name.block_info,                    \
                      & cyg_dataflash_priv_ ## name                              \
         )
-
-#endif // _FLASH_PRIVATE_
     
 //----------------------------------------------------------------------------