Skip to content
Commit 7241b7e7 authored by Mika Westerberg's avatar Mika Westerberg Committed by Liwei Song
Browse files

thunderbolt: Allow KUnit tests to be built also when CONFIG_USB4=m



commit 2c6ea4e2 upstream.

This adds a bit more build coverage for the tests even though these are
not expected to be enabled by normal users and distros. In order to make
this working we need to open-code kunit_test_suite() and call the
relevant functions directly in the driver init/exit hook.

Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent 90cb9335
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment