How to enable 'devices' and 'freezer' in Kconfig file

I encountered the same error, and after researching the need to use freezer, I found out that it is not needed when using cgroup2. If systemd.unified_cgroup_hierarchy=0 is added in the GRUB’s command line, it is forcing your system to use cgroups1 which is being deprecated. I noticed that when I t…