Commit:     139b82984af5a98e4b03fd01616d79fc4970128a
Parent:     12730926557e9b89b7618b79754598b09387d37d
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 5 14:51:01 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Nov 5 15:12:32 2007 -0800

    virtio/virtcons: fix section mismatch warning
    Make virtcons_probe() __devinit.
    Fixes this section warning:
    WARNING: vmlinux.o(.text+0x14c10b): Section mismatch: reference to 
.init.text:hvc_alloc (between 'virtcons_probe' and 'ac_register_board')
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/char/virtio_console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 100e8a2..e34da5c 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -141,7 +141,7 @@ int __init virtio_cons_early_init(int (*put_chars)(u32, 
const char *, int))
  * never remove the console device we never need this pointer again.
  * Finally we put our input buffer in the input queue, ready to receive. */
-static int virtcons_probe(struct virtio_device *dev)
+static int __devinit virtcons_probe(struct virtio_device *dev)
        int err;
        struct hvc_struct *hvc;
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