Rename macros.
[bertos.git] / bertos / drv / eeprom.h
index 15c565535e343bd77d6d3bc78ef0146fb4e29b94..60ef15696f38fad7520a5d3424097c10fdca9fe4 100644 (file)
@@ -83,7 +83,7 @@ typedef struct Eeprom
 /**
  * Convert + ASSERT from generic KFile to Eeprom.
  */
-INLINE Eeprom * EEPROM(KFile *fd)
+INLINE Eeprom * EEPROM_CAST(KFile *fd)
 {
        ASSERT(fd->_type == KFT_EEPROM);
        return (Eeprom *)fd;