}
static int
-atafb_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
- unsigned long arg, int con, struct fb_info *info)
+atafb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
{
switch (cmd) {
#ifdef FBCMD_GET_CURRENTPAR
fb_info.node, fb_info.modename, screen_len>>10);
/* TODO: This driver cannot be unloaded yet */
- MOD_INC_USE_COUNT;
-
return 0;
}
{
return atafb_init();
}
-
-void cleanup_module(void)
-{
- /* Not reached because the usecount will never
- be decremented to zero */
- unregister_framebuffer(&fb_info);
- /* atari_stram_free( screen_base ); */
- /* TODO: further clean up ... */
-}
#endif /* MODULE */