[PATCH 5.0 011/117] kcm: switch order of device registration to fix a crash