diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-06-19 22:45:37 +0000 |
commit | 6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch) | |
tree | 0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/video/g364fb.c | |
parent | ecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff) |
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine
status unknown.
Diffstat (limited to 'drivers/video/g364fb.c')
-rw-r--r-- | drivers/video/g364fb.c | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/drivers/video/g364fb.c b/drivers/video/g364fb.c index b74d12d93..b3846b10c 100644 --- a/drivers/video/g364fb.c +++ b/drivers/video/g364fb.c @@ -91,8 +91,6 @@ static struct fb_var_screeninfo fb_var = { 0, }; /* * Interface used by the world */ -static int g364fb_open(struct fb_info *info, int user); -static int g364fb_release(struct fb_info *info, int user); static int g364fb_get_fix(struct fb_fix_screeninfo *fix, int con, struct fb_info *info); static int g364fb_get_var(struct fb_var_screeninfo *var, int con, @@ -129,8 +127,14 @@ static void do_install_cmap(int con, struct fb_info *info); static struct fb_ops g364fb_ops = { - g364fb_open, g364fb_release, g364fb_get_fix, g364fb_get_var, g364fb_set_var, - g364fb_get_cmap, g364fb_set_cmap, g364fb_pan_display, g364fb_ioctl + owner: THIS_MODULE, + fb_get_fix: g364fb_get_fix, + fb_get_var: g364fb_get_var, + fb_set_var: g364fb_set_var, + fb_get_cmap: g364fb_get_cmap, + fb_set_cmap g364fb_set_cmap, + fb_pan_display: g364fb_pan_display, + fb_ioctl: g364fb_ioctl, }; @@ -156,26 +160,6 @@ static struct display_switch fbcon_g364cfb8 = { fbcon_cfb8_clear_margins, FONTWIDTH(8) }; - -/* - * Open/Release the frame buffer device - */ -static int g364fb_open(struct fb_info *info, int user) -{ - /* - * Nothing, only a usage count for the moment - */ - MOD_INC_USE_COUNT; - return(0); -} - -static int g364fb_release(struct fb_info *info, int user) -{ - MOD_DEC_USE_COUNT; - return(0); -} - - /* * Get the Fixed Part of the Display */ |