kernel: swconfig: make compatible with kernel 5.2