configured.
----------------------------------------------------------------------- */
-
-#ifdef MODULE
-int init_module(void);
-void cleanup_module(void);
-#endif /* MODULE */
-
static inline void memwinon(struct board_info *b, unsigned int win);
static inline void memwinoff(struct board_info *b, unsigned int win);
static inline void globalwinon(struct channel *ch);
} /* End pc_open */
#ifdef MODULE
-/* -------------------- Begin init_module ---------------------- */
-int __init init_module()
+static int __init epca_module_init(void)
{ /* Begin init_module */
unsigned long flags;
restore_flags(flags);
return(0);
-} /* End init_module */
+}
+module_init(epca_module_init);
#endif
#ifdef ENABLE_PCI
#ifdef MODULE
/* -------------------- Begin cleanup_module ---------------------- */
-void cleanup_module()
-{ /* Begin cleanup_module */
+static void __exit epca_module_exit(void)
+{
int count, crd;
struct board_info *bd;
restore_flags(flags);
-} /* End cleanup_module */
+}
+module_exit(epca_module_exit);
#endif /* MODULE */
/* ------------------ Begin pc_init ---------------------- */