Update preset.
[bertos.git] / bertos / drv / ft245rl.h
index e120ab9c75a140d190da63d642b3808df7c3f1cd..0fee0f34b5855e2e70b8812a6ea76b19f567ff9b 100644 (file)
  * invalidate any other reasons why the executable file might be covered by
  * the GNU General Public License.
  *
- * Copyright 2007 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2009 Develer S.r.l. (http://www.develer.com/)
  *
  * -->
  *
  * \brief Function library for Accessing FT245RL USB interface.
  *
  *
- * \version $Id$
  * \author Francesco Sacchi <batt@develer.com>
+ *
+ * $WIZ$ module_name = "ft245rl"
+ * $WIZ$ module_depends = "kfile", "timer"
+ * $WIZ$ module_hw = "bertos/hw/hw_ft245rl.h"
  */
 
 
 #ifndef DRV_FT245RL_H
 #define DRV_FT245RL_H
 
-#include <kern/kfile.h>
+#include <io/kfile.h>
 #include <cfg/compiler.h>
 
 /**
@@ -61,7 +64,7 @@ typedef struct Ft245rl
 /**
  * Convert + ASSERT from generic KFile to KFileFt245rl.
  */
-INLINE Ft245rl * FT245RL(KFile *fd)
+INLINE Ft245rl * FT245RL_CAST(KFile *fd)
 {
        ASSERT(fd->_type == KFT_FT245RL);
        return (Ft245rl *)fd;