Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=53da05632b96440b07615458e57d096a89cc466c
Commit:     53da05632b96440b07615458e57d096a89cc466c
Parent:     149041070deb2e83cd36dc60bc72975b3cbf5bbe
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 18 03:04:29 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Oct 18 14:37:17 2007 -0700

    netport_con.c: fix build errors and warnings
    
    Fix build broken by accaa24c492f1aa3b9c37226d868dc59c3007531:
    
      CC      drivers/video/console/newport_con.o
    drivers/video/console/newport_con.c: In function 'newport_show_logo':
    drivers/video/console/newport_con.c:111: error: assignment of read-only 
location
    drivers/video/console/newport_con.c:111: warning: assignment makes integer 
from pointer without a cast
    drivers/video/console/newport_con.c:112: error: assignment of read-only 
location
    drivers/video/console/newport_con.c:112: warning: assignment makes integer 
from pointer without a cast
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
    Cc: "Randy.Dunlap" <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/console/newport_con.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/video/console/newport_con.c 
b/drivers/video/console/newport_con.c
index f57d7b2..d31b203 100644
--- a/drivers/video/console/newport_con.c
+++ b/drivers/video/console/newport_con.c
@@ -98,7 +98,7 @@ static inline void newport_init_cmap(void)
        }
 }
 
-static struct linux_logo *newport_show_logo(void)
+static const struct linux_logo *newport_show_logo(void)
 {
 #ifdef CONFIG_LOGO_SGI_CLUT224
        const struct linux_logo *logo = fb_find_logo(8);
@@ -108,8 +108,8 @@ static struct linux_logo *newport_show_logo(void)
 
        if (!logo)
                return NULL;
-       *clut = logo->clut;
-       *data = logo->data;
+       clut = logo->clut;
+       data = logo->data;
 
        for (i = 0; i < logo->clutsize; i++) {
                newport_bfwait(npregs);
-
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