fix compile error, when touchscreen driver is disabled and board is cooper, gio, beni or tass