[PATCH 4.14 18/69] kcm: switch order of device registration to fix a crash