diff options
Diffstat (limited to 'drivers/tty/serial/8250/8250_pnp.c')
-rw-r--r-- | drivers/tty/serial/8250/8250_pnp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tty/serial/8250/8250_pnp.c b/drivers/tty/serial/8250/8250_pnp.c index f8ee25001dd0..35d9ab95c5cb 100644 --- a/drivers/tty/serial/8250/8250_pnp.c +++ b/drivers/tty/serial/8250/8250_pnp.c | |||
@@ -370,14 +370,14 @@ static const struct pnp_device_id pnp_dev_table[] = { | |||
370 | 370 | ||
371 | MODULE_DEVICE_TABLE(pnp, pnp_dev_table); | 371 | MODULE_DEVICE_TABLE(pnp, pnp_dev_table); |
372 | 372 | ||
373 | static char *modem_names[] __devinitdata = { | 373 | static char *modem_names[] = { |
374 | "MODEM", "Modem", "modem", "FAX", "Fax", "fax", | 374 | "MODEM", "Modem", "modem", "FAX", "Fax", "fax", |
375 | "56K", "56k", "K56", "33.6", "28.8", "14.4", | 375 | "56K", "56k", "K56", "33.6", "28.8", "14.4", |
376 | "33,600", "28,800", "14,400", "33.600", "28.800", "14.400", | 376 | "33,600", "28,800", "14,400", "33.600", "28.800", "14.400", |
377 | "33600", "28800", "14400", "V.90", "V.34", "V.32", NULL | 377 | "33600", "28800", "14400", "V.90", "V.34", "V.32", NULL |
378 | }; | 378 | }; |
379 | 379 | ||
380 | static int __devinit check_name(char *name) | 380 | static int check_name(char *name) |
381 | { | 381 | { |
382 | char **tmp; | 382 | char **tmp; |
383 | 383 | ||
@@ -388,7 +388,7 @@ static int __devinit check_name(char *name) | |||
388 | return 0; | 388 | return 0; |
389 | } | 389 | } |
390 | 390 | ||
391 | static int __devinit check_resources(struct pnp_dev *dev) | 391 | static int check_resources(struct pnp_dev *dev) |
392 | { | 392 | { |
393 | resource_size_t base[] = {0x2f8, 0x3f8, 0x2e8, 0x3e8}; | 393 | resource_size_t base[] = {0x2f8, 0x3f8, 0x2e8, 0x3e8}; |
394 | int i; | 394 | int i; |
@@ -412,7 +412,7 @@ static int __devinit check_resources(struct pnp_dev *dev) | |||
412 | * PnP modems, alternatively we must hardcode all modems in pnp_devices[] | 412 | * PnP modems, alternatively we must hardcode all modems in pnp_devices[] |
413 | * table. | 413 | * table. |
414 | */ | 414 | */ |
415 | static int __devinit serial_pnp_guess_board(struct pnp_dev *dev) | 415 | static int serial_pnp_guess_board(struct pnp_dev *dev) |
416 | { | 416 | { |
417 | if (!(check_name(pnp_dev_name(dev)) || | 417 | if (!(check_name(pnp_dev_name(dev)) || |
418 | (dev->card && check_name(dev->card->name)))) | 418 | (dev->card && check_name(dev->card->name)))) |
@@ -424,7 +424,7 @@ static int __devinit serial_pnp_guess_board(struct pnp_dev *dev) | |||
424 | return -ENODEV; | 424 | return -ENODEV; |
425 | } | 425 | } |
426 | 426 | ||
427 | static int __devinit | 427 | static int |
428 | serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) | 428 | serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) |
429 | { | 429 | { |
430 | struct uart_8250_port uart; | 430 | struct uart_8250_port uart; |
@@ -476,7 +476,7 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) | |||
476 | return 0; | 476 | return 0; |
477 | } | 477 | } |
478 | 478 | ||
479 | static void __devexit serial_pnp_remove(struct pnp_dev *dev) | 479 | static void serial_pnp_remove(struct pnp_dev *dev) |
480 | { | 480 | { |
481 | long line = (long)pnp_get_drvdata(dev); | 481 | long line = (long)pnp_get_drvdata(dev); |
482 | if (line) | 482 | if (line) |
@@ -511,7 +511,7 @@ static int serial_pnp_resume(struct pnp_dev *dev) | |||
511 | static struct pnp_driver serial_pnp_driver = { | 511 | static struct pnp_driver serial_pnp_driver = { |
512 | .name = "serial", | 512 | .name = "serial", |
513 | .probe = serial_pnp_probe, | 513 | .probe = serial_pnp_probe, |
514 | .remove = __devexit_p(serial_pnp_remove), | 514 | .remove = serial_pnp_remove, |
515 | .suspend = serial_pnp_suspend, | 515 | .suspend = serial_pnp_suspend, |
516 | .resume = serial_pnp_resume, | 516 | .resume = serial_pnp_resume, |
517 | .id_table = pnp_dev_table, | 517 | .id_table = pnp_dev_table, |