]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
jsm: define init function as __devinit
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Mon, 6 Apr 2009 16:34:17 +0000 (17:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:36:34 +0000 (14:36 -0700)
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/jsm/jsm_driver.c
drivers/serial/jsm/jsm_tty.c

index ac79cbe4c2cf40e2e5512a4607d517c120784757..576aafb6d0133ba2de417be5a9959590f7f98e7f 100644 (file)
@@ -52,7 +52,7 @@ int jsm_debug;
 module_param(jsm_debug, int, 0);
 MODULE_PARM_DESC(jsm_debug, "Driver debugging level");
 
-static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
+static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
        int rc = 0;
        struct jsm_board *brd;
index 324c74d2f6660939d42b62dd2b5239de1395877a..330696309f764b8fd4543e191ca8ecaae04b663f 100644 (file)
@@ -367,7 +367,7 @@ static struct uart_ops jsm_ops = {
  * Init the tty subsystem.  Called once per board after board has been
  * downloaded and init'ed.
  */
-int jsm_tty_init(struct jsm_board *brd)
+int __devinit jsm_tty_init(struct jsm_board *brd)
 {
        int i;
        void __iomem *vaddr;
@@ -431,7 +431,7 @@ int jsm_tty_init(struct jsm_board *brd)
        return 0;
 }
 
-int jsm_uart_port_init(struct jsm_board *brd)
+int __devinit jsm_uart_port_init(struct jsm_board *brd)
 {
        int i;
        struct jsm_channel *ch;