diff --git a/common/reset_source.c b/common/reset_source.c index b02a694..0a69f90 100644 --- a/common/reset_source.c +++ b/common/reset_source.c @@ -11,6 +11,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#define pr_fmt(fmt) "reset-source: " fmt #include #include @@ -45,6 +46,9 @@ reset_source = st; reset_source_priority = priority; + + pr_debug("Setting reset source to %s with priority %d\n", + reset_src_names[reset_source], priority); } EXPORT_SYMBOL(reset_source_set);