aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_txx9.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2005-11-29 19:00:35 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 15:13:23 -0500
commit93b47684f60cf25e8cefe19a21d94aa0257fdf36 (patch)
treef89ab5a9197cf9bb771a556f8b48989416848dce /drivers/serial/serial_txx9.c
parent46654728b55bf5d09dc91fa45f532131d8a609f2 (diff)
[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/serial_txx9.c')
-rw-r--r--drivers/serial/serial_txx9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c
index f10c86d60b64..995d9dd9ddd5 100644
--- a/drivers/serial/serial_txx9.c
+++ b/drivers/serial/serial_txx9.c
@@ -1195,7 +1195,7 @@ static int __init serial_txx9_init(void)
1195 serial_txx9_register_ports(&serial_txx9_reg); 1195 serial_txx9_register_ports(&serial_txx9_reg);
1196 1196
1197#ifdef ENABLE_SERIAL_TXX9_PCI 1197#ifdef ENABLE_SERIAL_TXX9_PCI
1198 ret = pci_module_init(&serial_txx9_pci_driver); 1198 ret = pci_register_driver(&serial_txx9_pci_driver);
1199#endif 1199#endif
1200 } 1200 }
1201 return ret; 1201 return ret;