Hello, Thanks for checking the patch.
I missed the #else part of he CONFIG_OF #ifdef previously. I made the code properly depend on CONFIG_OF now. I am not familiar with this code base. When time allows I would like to contribute by refactoring code in this area. Let me know if you have specific ideas about what should change and how the code should be refactored. Artur

