rps: Fix build with CONFIG_SYSFS enabled