diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl index 865f6107..2791cd7f 100755 --- a/mkpatch/mkpatch.pl +++ b/mkpatch/mkpatch.pl @@ -334,6 +334,8 @@ sub gen_drivers_Makefile } $sensors_present = 1 if m@sensors@; s@$@ sensors@ if (not $sensors_present); + print OUTPUT; + $_ = ; redo MAIN; } if (m@CONFIG_SENSORS@) {