sh: intc: Enable driver compilation with COMPILE_TEST