Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / video / atafb.c
index add2972..e69ab65 100644 (file)
@@ -2571,8 +2571,7 @@ atafb_pan_display(struct fb_var_screeninfo *var, int con, struct fb_info *info)
 }
 
 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
@@ -2819,8 +2818,6 @@ int __init atafb_init(void)
               fb_info.node, fb_info.modename, screen_len>>10);
 
        /* TODO: This driver cannot be unloaded yet */
-       MOD_INC_USE_COUNT;
-
        return 0;
 }
 
@@ -3097,13 +3094,4 @@ int init_module(void)
 {
        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 */