Mercurial > mplayer.hg
comparison drivers/radeon/radeonfb.c @ 2133:96d1926373a1
Fixed incorrect return value
author | nick |
---|---|
date | Mon, 08 Oct 2001 08:46:13 +0000 |
parents | 94617874ed1c |
children | 27bfb445ca85 |
comparison
equal
deleted
inserted
replaced
2132:94617874ed1c | 2133:96d1926373a1 |
---|---|
1692 | 1692 |
1693 save->crtc_offset = 0; | 1693 save->crtc_offset = 0; |
1694 save->crtc_offset_cntl = 0; | 1694 save->crtc_offset_cntl = 0; |
1695 | 1695 |
1696 rinfo->bpp = mode->bits_per_pixel; | 1696 rinfo->bpp = mode->bits_per_pixel; |
1697 return 0; | 1697 return 1; |
1698 } | 1698 } |
1699 | 1699 |
1700 static int radeon_init_crtc2_regs(struct radeonfb_info *rinfo, | 1700 static int radeon_init_crtc2_regs(struct radeonfb_info *rinfo, |
1701 struct radeon_regs *save, | 1701 struct radeon_regs *save, |
1702 struct fb_var_screeninfo *mode) | 1702 struct fb_var_screeninfo *mode) |