tree 15d730d588fb6384af9674e26f508ade3906dd9c
parent 38f405199aed09f43102fe69149dbb93c9554ab2
author maximilian attems <[EMAIL PROTECTED]> Tue Apr 12 08:26:20 2005
committer Linus Torvalds <[EMAIL PROTECTED]> Tue Apr 12 08:26:20 2005

[PATCH] hd: eliminate bad section references

Fix hd section references:
make parse_hd_setup() __init

Error: ./drivers/ide/legacy/hd.o .text refers to 00000943 R_386_PC32
.init.text

Signed-off-by: maximilian attems <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 hd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: drivers/ide/legacy/hd.c
===================================================================
--- 5396cc59253ac0c099900c5a8e3eac712bee421e/drivers/ide/legacy/hd.c  
(mode:100644 sha1:eee2b420ca6614b1061d665456c7f0fa7bdb6399)
+++ 15d730d588fb6384af9674e26f508ade3906dd9c/drivers/ide/legacy/hd.c  
(mode:100644 sha1:98511734bf1acae6fd9385da4c92582159036e54)
@@ -851,7 +851,7 @@
        goto out;
 }
 
-static int parse_hd_setup (char *line) {
+static int __init parse_hd_setup (char *line) {
        int ints[6];
 
        (void) get_options(line, ARRAY_SIZE(ints), ints);
-
To unsubscribe from this list: send the line "unsubscribe bk-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