* All Rights Reserved.
* -->
*
- * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (interface)
+ * \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS.
*
* \version $Id$
*
* \author Stefano Fedrigo <aleph@develer.com>
* \author Bernie Innocenti <bernie@codewiz.org>
*
+ * $WIZ$ module_name = "eeprom"
+ * $WIZ$ module_depends = "kfile", "i2c"
+ * $WIZ$ module_supports = "not at91"
*/
#ifndef DRV_EEPROM_H
#define DRV_EEPROM_H
#include <cfg/compiler.h>
+
#include <kern/kfile.h>
/**
* 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;