Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.