Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7974f72a21a246051b3dd84d7158974fc4785150
Commit:     7974f72a21a246051b3dd84d7158974fc4785150
Parent:     9f4f21b453f2f51c9d1f22638eae306c07c95b42
Author:     Geert Uytterhoeven <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:39:32 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:17 2008 -0800

    ps3fb: make frame buffer offsets unsigned int
    
    Frame buffer offsets don't have to be `unsigned long', `unsigned int' is
    sufficient
    
    Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/ps3fb.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index b9c5b4e..be9f70c 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -140,9 +140,9 @@ struct ps3fb_par {
        unsigned int ddr_line_length;
        unsigned int ddr_frame_size;
        unsigned int xdr_frame_size;
-       unsigned long full_offset;      /* start of fullscreen DDR fb */
-       unsigned long fb_offset;        /* start of actual DDR fb */
-       unsigned long pan_offset;
+       unsigned int full_offset;       /* start of fullscreen DDR fb */
+       unsigned int fb_offset;         /* start of actual DDR fb */
+       unsigned int pan_offset;
 };
 
 
@@ -512,8 +512,7 @@ static int ps3fb_set_par(struct fb_info *info)
 {
        struct ps3fb_par *par = info->par;
        unsigned int mode, ddr_line_length, xdr_line_length, lines, maxlines;
-       unsigned int ddr_xoff, ddr_yoff;
-       unsigned long offset;
+       unsigned int ddr_xoff, ddr_yoff, offset;
        const struct fb_videomode *vmode;
        u64 dst;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to