diff options
Diffstat (limited to 'sound/drivers/serial-u16550.c')
-rw-r--r-- | sound/drivers/serial-u16550.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c index 86700671d1ac..7425dd8c1f09 100644 --- a/sound/drivers/serial-u16550.c +++ b/sound/drivers/serial-u16550.c | |||
@@ -328,7 +328,7 @@ static void snd_uart16550_buffer_timer(unsigned long data) | |||
328 | * return 0 if found | 328 | * return 0 if found |
329 | * return negative error if not found | 329 | * return negative error if not found |
330 | */ | 330 | */ |
331 | static int __devinit snd_uart16550_detect(struct snd_uart16550 *uart) | 331 | static int snd_uart16550_detect(struct snd_uart16550 *uart) |
332 | { | 332 | { |
333 | unsigned long io_base = uart->base; | 333 | unsigned long io_base = uart->base; |
334 | int ok; | 334 | int ok; |
@@ -783,14 +783,14 @@ static int snd_uart16550_dev_free(struct snd_device *device) | |||
783 | return snd_uart16550_free(uart); | 783 | return snd_uart16550_free(uart); |
784 | } | 784 | } |
785 | 785 | ||
786 | static int __devinit snd_uart16550_create(struct snd_card *card, | 786 | static int snd_uart16550_create(struct snd_card *card, |
787 | unsigned long iobase, | 787 | unsigned long iobase, |
788 | int irq, | 788 | int irq, |
789 | unsigned int speed, | 789 | unsigned int speed, |
790 | unsigned int base, | 790 | unsigned int base, |
791 | int adaptor, | 791 | int adaptor, |
792 | int droponfull, | 792 | int droponfull, |
793 | struct snd_uart16550 **ruart) | 793 | struct snd_uart16550 **ruart) |
794 | { | 794 | { |
795 | static struct snd_device_ops ops = { | 795 | static struct snd_device_ops ops = { |
796 | .dev_free = snd_uart16550_dev_free, | 796 | .dev_free = snd_uart16550_dev_free, |
@@ -863,7 +863,7 @@ static int __devinit snd_uart16550_create(struct snd_card *card, | |||
863 | return 0; | 863 | return 0; |
864 | } | 864 | } |
865 | 865 | ||
866 | static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream) | 866 | static void snd_uart16550_substreams(struct snd_rawmidi_str *stream) |
867 | { | 867 | { |
868 | struct snd_rawmidi_substream *substream; | 868 | struct snd_rawmidi_substream *substream; |
869 | 869 | ||
@@ -872,9 +872,9 @@ static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream) | |||
872 | } | 872 | } |
873 | } | 873 | } |
874 | 874 | ||
875 | static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, | 875 | static int snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, |
876 | int outs, int ins, | 876 | int outs, int ins, |
877 | struct snd_rawmidi **rmidi) | 877 | struct snd_rawmidi **rmidi) |
878 | { | 878 | { |
879 | struct snd_rawmidi *rrawmidi; | 879 | struct snd_rawmidi *rrawmidi; |
880 | int err; | 880 | int err; |
@@ -899,7 +899,7 @@ static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device, | |||
899 | return 0; | 899 | return 0; |
900 | } | 900 | } |
901 | 901 | ||
902 | static int __devinit snd_serial_probe(struct platform_device *devptr) | 902 | static int snd_serial_probe(struct platform_device *devptr) |
903 | { | 903 | { |
904 | struct snd_card *card; | 904 | struct snd_card *card; |
905 | struct snd_uart16550 *uart; | 905 | struct snd_uart16550 *uart; |
@@ -982,7 +982,7 @@ static int __devinit snd_serial_probe(struct platform_device *devptr) | |||
982 | return err; | 982 | return err; |
983 | } | 983 | } |
984 | 984 | ||
985 | static int __devexit snd_serial_remove(struct platform_device *devptr) | 985 | static int snd_serial_remove(struct platform_device *devptr) |
986 | { | 986 | { |
987 | snd_card_free(platform_get_drvdata(devptr)); | 987 | snd_card_free(platform_get_drvdata(devptr)); |
988 | platform_set_drvdata(devptr, NULL); | 988 | platform_set_drvdata(devptr, NULL); |
@@ -993,7 +993,7 @@ static int __devexit snd_serial_remove(struct platform_device *devptr) | |||
993 | 993 | ||
994 | static struct platform_driver snd_serial_driver = { | 994 | static struct platform_driver snd_serial_driver = { |
995 | .probe = snd_serial_probe, | 995 | .probe = snd_serial_probe, |
996 | .remove = __devexit_p( snd_serial_remove), | 996 | .remove = snd_serial_remove, |
997 | .driver = { | 997 | .driver = { |
998 | .name = SND_SERIAL_DRIVER, | 998 | .name = SND_SERIAL_DRIVER, |
999 | .owner = THIS_MODULE, | 999 | .owner = THIS_MODULE, |