diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2009-04-06 12:34:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 17:36:34 -0400 |
commit | aacf17adc62650fa0eb59559b737f543d003575e (patch) | |
tree | bea407b1faa50ab90ca3f0d878f421d3e3d6412f /drivers/serial/jsm | |
parent | 0326e6d596491db64d787136cbd703bde0ee8d77 (diff) |
jsm: define init function as __devinit
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>
Diffstat (limited to 'drivers/serial/jsm')
-rw-r--r-- | drivers/serial/jsm/jsm_driver.c | 2 | ||||
-rw-r--r-- | drivers/serial/jsm/jsm_tty.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/jsm/jsm_driver.c b/drivers/serial/jsm/jsm_driver.c index ac79cbe4c2cf..576aafb6d013 100644 --- a/drivers/serial/jsm/jsm_driver.c +++ b/drivers/serial/jsm/jsm_driver.c | |||
@@ -52,7 +52,7 @@ int jsm_debug; | |||
52 | module_param(jsm_debug, int, 0); | 52 | module_param(jsm_debug, int, 0); |
53 | MODULE_PARM_DESC(jsm_debug, "Driver debugging level"); | 53 | MODULE_PARM_DESC(jsm_debug, "Driver debugging level"); |
54 | 54 | ||
55 | static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) | 55 | static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
56 | { | 56 | { |
57 | int rc = 0; | 57 | int rc = 0; |
58 | struct jsm_board *brd; | 58 | struct jsm_board *brd; |
diff --git a/drivers/serial/jsm/jsm_tty.c b/drivers/serial/jsm/jsm_tty.c index 324c74d2f666..330696309f76 100644 --- a/drivers/serial/jsm/jsm_tty.c +++ b/drivers/serial/jsm/jsm_tty.c | |||
@@ -367,7 +367,7 @@ static struct uart_ops jsm_ops = { | |||
367 | * Init the tty subsystem. Called once per board after board has been | 367 | * Init the tty subsystem. Called once per board after board has been |
368 | * downloaded and init'ed. | 368 | * downloaded and init'ed. |
369 | */ | 369 | */ |
370 | int jsm_tty_init(struct jsm_board *brd) | 370 | int __devinit jsm_tty_init(struct jsm_board *brd) |
371 | { | 371 | { |
372 | int i; | 372 | int i; |
373 | void __iomem *vaddr; | 373 | void __iomem *vaddr; |
@@ -431,7 +431,7 @@ int jsm_tty_init(struct jsm_board *brd) | |||
431 | return 0; | 431 | return 0; |
432 | } | 432 | } |
433 | 433 | ||
434 | int jsm_uart_port_init(struct jsm_board *brd) | 434 | int __devinit jsm_uart_port_init(struct jsm_board *brd) |
435 | { | 435 | { |
436 | int i; | 436 | int i; |
437 | struct jsm_channel *ch; | 437 | struct jsm_channel *ch; |