Commit:     0ce85eb8824679cd9e7b3b12202e2bf54f1f3e2c
Parent:     74f482cca5f76643e7f323e66cc38b1a882d5e6f
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:39:19 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:16 2008 -0800

    tdfxfb: fix section mismatch warnings
    tdfxfb_setup() can be __init.  This fixes the modpost section mismatch
    WARNING: vmlinux.o(.text+0x4cff9b): Section mismatch: reference to (between 'tdfxfb_setup' and 'getclkMHz')
    WARNING: vmlinux.o(.text+0x4cffa8): Section mismatch: reference to (between 'tdfxfb_setup' and 'getclkMHz')
    [EMAIL PROTECTED]: use __init, not __devinit]
    Cc: Krzysztof Helt <[EMAIL PROTECTED]>
    Signed-off-by: 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/tdfxfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c
index 057bdd5..71e179e 100644
--- a/drivers/video/tdfxfb.c
+++ b/drivers/video/tdfxfb.c
@@ -1342,7 +1342,7 @@ out_err:
 #ifndef MODULE
-static void tdfxfb_setup(char *options)
+static void __init tdfxfb_setup(char *options)
        char *this_opt;
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