diff --git a/sys-utils/libcmt/doc/examples/io.c b/sys-utils/libcmt/doc/examples/io.c index 75bf2954..7d30316f 100644 --- a/sys-utils/libcmt/doc/examples/io.c +++ b/sys-utils/libcmt/doc/examples/io.c @@ -20,9 +20,9 @@ int exception(union cmt_io_driver *io) { /* exception -------------------------------------------------------- */ struct cmt_io_yield req[1] = {{ - .dev = CMT_IO_DEV, - .cmd = CMT_IO_CMD_MANUAL, - .reason = CMT_IO_MANUAL_REASON_TX_EXCEPTION, + .dev = HTIF_YIELD_DEV, + .cmd = HTIF_YIELD_CMD_MANUAL, + .reason = HTIF_YIELD_MANUAL_REASON_TX_EXCEPTION, .data = n, }}; if (cmt_io_yield(io, req)) {