VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
adv_uart_register.h
Go to the documentation of this file.
1
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
2
// @ current
3
#else
4
int
adv_uart_register
(
void
)
5
{
6
int
ret;
7
8
ret = uart_register_driver(&adv_uart_driver);
9
// printk("uart_list =%x\n", &uart_list);
10
11
if
(ret < 0){
12
printk(
"ret < 0\n"
);
13
uart_unregister_driver(&adv_uart_driver);
14
}
15
16
return
ret;
17
}
18
#endif
adv_uart_register
int adv_uart_register(void)
Definition
adv_uart.c:585
driver
legacy
uart
adv_uart_register.h
Generated by
1.12.0