l2: l2_patch_main should not be static

No match.