changeset 249:4486bfabb514

Fix data type for device status.
author gthomas
date Wed, 24 Jul 2002 13:05:23 +0000
parents 825f61ca1975
children 6100a026a5e0
files packages/devs/flash/amd/am29xxxxx/current/ChangeLog packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
+++ b/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-24  Gary Thomas  <gary@chez-thomas.org>
+2002-07-24  Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
+	
+	* include/flash_am29xxxxx.inl (_flash_program_buf): Fix data
+	type for 'state' - needs to be flash_data_t.
+
 2002-06-20  Gary Thomas  <gary@chez-thomas.org>
 
 	* include/flash_am29xxxxx.inl: Add cache disable/enable code
--- a/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
+++ b/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl
@@ -446,7 +446,7 @@ static int
     f_s2 = FLASH_P2V(BANK + FLASH_Setup_Addr2);
 
     while (len > 0) {
-        int state;
+        flash_data_t state;
 
         addr_v = FLASH_P2V(addr_p++);