hci_ldisc.c (a1ff5a7d78a036d6c2178ee5acd6ba4946243800) hci_ldisc.c (37bac77e4649e8158698a60addc22ec4faf5649a)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 *
4 * Bluetooth HCI UART driver
5 *
6 * Copyright (C) 2000-2001 Qualcomm Incorporated
7 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
8 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>

--- 856 unchanged lines hidden (view full) ---

865 qca_init();
866#endif
867#ifdef CONFIG_BT_HCIUART_AG6XX
868 ag6xx_init();
869#endif
870#ifdef CONFIG_BT_HCIUART_MRVL
871 mrvl_init();
872#endif
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 *
4 * Bluetooth HCI UART driver
5 *
6 * Copyright (C) 2000-2001 Qualcomm Incorporated
7 * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
8 * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org>

--- 856 unchanged lines hidden (view full) ---

865 qca_init();
866#endif
867#ifdef CONFIG_BT_HCIUART_AG6XX
868 ag6xx_init();
869#endif
870#ifdef CONFIG_BT_HCIUART_MRVL
871 mrvl_init();
872#endif
873
873#ifdef CONFIG_BT_HCIUART_AML
874 aml_init();
875#endif
874 return 0;
875}
876
877static void __exit hci_uart_exit(void)
878{
879#ifdef CONFIG_BT_HCIUART_H4
880 h4_deinit();
881#endif

--- 19 unchanged lines hidden (view full) ---

901 qca_deinit();
902#endif
903#ifdef CONFIG_BT_HCIUART_AG6XX
904 ag6xx_deinit();
905#endif
906#ifdef CONFIG_BT_HCIUART_MRVL
907 mrvl_deinit();
908#endif
876 return 0;
877}
878
879static void __exit hci_uart_exit(void)
880{
881#ifdef CONFIG_BT_HCIUART_H4
882 h4_deinit();
883#endif

--- 19 unchanged lines hidden (view full) ---

903 qca_deinit();
904#endif
905#ifdef CONFIG_BT_HCIUART_AG6XX
906 ag6xx_deinit();
907#endif
908#ifdef CONFIG_BT_HCIUART_MRVL
909 mrvl_deinit();
910#endif
909
911#ifdef CONFIG_BT_HCIUART_AML
912 aml_deinit();
913#endif
910 tty_unregister_ldisc(&hci_uart_ldisc);
911}
912
913module_init(hci_uart_init);
914module_exit(hci_uart_exit);
915
916MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
917MODULE_DESCRIPTION("Bluetooth HCI UART driver ver " VERSION);
918MODULE_VERSION(VERSION);
919MODULE_LICENSE("GPL");
920MODULE_ALIAS_LDISC(N_HCI);
914 tty_unregister_ldisc(&hci_uart_ldisc);
915}
916
917module_init(hci_uart_init);
918module_exit(hci_uart_exit);
919
920MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
921MODULE_DESCRIPTION("Bluetooth HCI UART driver ver " VERSION);
922MODULE_VERSION(VERSION);
923MODULE_LICENSE("GPL");
924MODULE_ALIAS_LDISC(N_HCI);