1342,8 → 1342,8 |
extern int linuxcomp_setfd(struct inode *i, int i_rdev); |
|
/* Shark Inode emulation */ |
int fb_open_inode(int num) { |
|
int fb_open_inode(int num) |
{ |
struct inode *i; |
|
i = (struct inode *)kmalloc(sizeof(struct inode),GFP_KERNEL); |
1357,12 → 1357,11 |
|
kfree(i); |
return 0; |
|
} |
|
/* Shark Inode emulation */ |
int fb_close_inode(int num) { |
|
int fb_close_inode(int num) |
{ |
struct inode *i; |
|
i = (struct inode *)kmalloc(sizeof(struct inode),GFP_KERNEL); |
1377,11 → 1376,10 |
kfree(i); |
|
return 0; |
|
} |
|
int fb_set_mode_inode(int num, unsigned char *modeopt) { |
|
int fb_set_mode_inode(int num, unsigned char *modeopt) |
{ |
struct fb_var_screeninfo var; |
struct fb_info *info = registered_fb[num]; |
struct fb_fillrect rect; |
1415,7 → 1413,6 |
cfb_fillrect(info,&rect); |
|
return 0; |
|
} |
|
/** |