Commit:     5a1c84f1465a90192f55e21ccc67fd396c596374
Parent:     cfe2f714d9ebca9d17f392de1fa656d77aa2d4f1
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:39:06 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:15 2008 -0800

    video/hpfb.c section fix
    WARNING: vmlinux.o(.text+0xb851a): Section mismatch: reference to 
.init.text:hpfb_init_one (between 'hpfb_dio_probe' and 'read_null')
    hpfb_init_one() must be __devinit since it's called by the __devinit
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/video/hpfb.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/video/hpfb.c b/drivers/video/hpfb.c
index b18486a..2eb4fb1 100644
--- a/drivers/video/hpfb.c
+++ b/drivers/video/hpfb.c
@@ -207,7 +207,8 @@ static struct fb_ops hpfb_ops = {
 #define HPFB_FBOMSB    0x5d    /* Frame buffer offset          */
 #define HPFB_FBOLSB    0x5f
-static int __init hpfb_init_one(unsigned long phys_base, unsigned long 
+static int __devinit hpfb_init_one(unsigned long phys_base,
+                                  unsigned long virt_base)
        unsigned long fboff, fb_width, fb_height, fb_start;
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

Reply via email to