hvc_console: Remove __devinit annotation from hvc_alloc
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 03:44:58 +0000 (03:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 3 Feb 2010 06:39:49 +0000 (17:39 +1100)
commit119ea10947cc1402abbf9d6200815b0606536906
tree858219703f4c1ba2a5d9b2570f1edc2bfe0fb45d
parentb51130685817d8c1b56386f9957405b5be2cdfe0
hvc_console: Remove __devinit annotation from hvc_alloc

Virtio consoles can be hotplugged, so hvc_alloc gets called from
multiple sites: from the initial probe() routine as well as later on
from workqueue handlers which aren't __devinit code.

So, drop the __devinit annotation for hvc_alloc.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Cc: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvc_console.c
drivers/char/hvc_console.h