diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2005-11-30 01:00:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:23 -0800 |
commit | 93b47684f60cf25e8cefe19a21d94aa0257fdf36 (patch) | |
tree | f89ab5a9197cf9bb771a556f8b48989416848dce /drivers/serial/serial_txx9.c | |
parent | 46654728b55bf5d09dc91fa45f532131d8a609f2 (diff) | |
download | linux-3.10-93b47684f60cf25e8cefe19a21d94aa0257fdf36.tar.gz linux-3.10-93b47684f60cf25e8cefe19a21d94aa0257fdf36.tar.bz2 linux-3.10-93b47684f60cf25e8cefe19a21d94aa0257fdf36.zip |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c index f10c86d60b6..995d9dd9ddd 100644 --- a/drivers/serial/serial_txx9.c +++ b/drivers/serial/serial_txx9.c @@ -1195,7 +1195,7 @@ static int __init serial_txx9_init(void) serial_txx9_register_ports(&serial_txx9_reg); #ifdef ENABLE_SERIAL_TXX9_PCI - ret = pci_module_init(&serial_txx9_pci_driver); + ret = pci_register_driver(&serial_txx9_pci_driver); #endif } return ret; |