hci_uart_ldisc.magic       = TTY_LDISC_MAGIC; hci_uart_ldisc.name        = "n_hci"; hci_uart_ldisc.open        = hci_uart_tty_open; hci_uart_ldisc.close       = hci_uart_tty_close; hci_uart_ldisc.read        = hci_uart_tty_read; hci_uart_ldisc.write       = hci_uart_tty_write; hci_uart_ldisc.ioctl       = hci_uart_tty_ioctl; hci_uart_ldisc.poll        = hci_uart_tty_poll; hci_uart_ldisc.receive_room= hci_uart_tty_room; hci_uart_ldisc.receive_buf = hci_uart_tty_receive; hci_uart_ldisc.write_wakeup= hci_uart_tty_wakeup; hci_uart_ldisc.owner       = THIS_MODULE; 
hci_uart_ldisc.magic		= TTY_LDISC_MAGIC; hci_uart_ldisc.name		= "n_hci"; hci_uart_ldisc.open		= hci_uart_tty_open; hci_uart_ldisc.close		= hci_uart_tty_close; hci_uart_ldisc.read		= hci_uart_tty_read; hci_uart_ldisc.write		= hci_uart_tty_write; hci_uart_ldisc.ioctl		= hci_uart_tty_ioctl; hci_uart_ldisc.poll		= hci_uart_tty_poll; hci_uart_ldisc.receive_room	= hci_uart_tty_room; hci_uart_ldisc.receive_buf	= hci_uart_tty_receive; hci_uart_ldisc.write_wakeup	= hci_uart_tty_wakeup; hci_uart_ldisc.owner		= THIS_MODULE; 
static int __init hci_uart_init(void){	static struct tty_ldisc hci_uart_ldisc;	int err;	BT_INFO("HCI UART driver ver %s", VERSION);	/* Register the tty discipline */	memset(&hci_uart_ldisc, 0, sizeof (hci_uart_ldisc));	hci_uart_ldisc.magic       = TTY_LDISC_MAGIC;	hci_uart_ldisc.name        = "n_hci";	hci_uart_ldisc.open        = hci_uart_tty_open;	hci_uart_ldisc.close       = hci_uart_tty_close;	hci_uart_ldisc.read        = hci_uart_tty_read;	hci_uart_ldisc.write       = hci_uart_tty_write;	hci_uart_ldisc.ioctl       = hci_uart_tty_ioctl;	hci_uart_ldisc.poll        = hci_uart_tty_poll;	hci_uart_ldisc.receive_room= hci_uart_tty_room;	hci_uart_ldisc.receive_buf = hci_uart_tty_receive;	hci_uart_ldisc.write_wakeup= hci_uart_tty_wakeup;	hci_uart_ldisc.owner       = THIS_MODULE;	if ((err = tty_register_ldisc(N_HCI, &hci_uart_ldisc))) {		BT_ERR("HCI line discipline registration failed. (%d)", err);		return err;	}#ifdef CONFIG_BT_HCIUART_H4	h4_init();#endif#ifdef CONFIG_BT_HCIUART_BCSP	bcsp_init();#endif		return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0372a6627f862f90a2c43772befeecef508cfd7b/hci_ldisc.c/clean/drivers/bluetooth/hci_ldisc.c