Restored previous version, but remove inline declaration in drv_serial.c to avoid linker errors