[PATCH 4.18 066/168] nds32: fix logic for module