aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/string_choices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/string_choices.h b/include/linux/string_choices.h
index bcde3c9cff81..1320bcdcb89c 100644
--- a/include/linux/string_choices.h
+++ b/include/linux/string_choices.h
@@ -46,6 +46,7 @@ static inline const char *str_up_down(bool v)
{
return v ? "up" : "down";
}
+#define str_down_up(v) str_up_down(!(v))
/**
* str_plural - Return the simple pluralization based on English counts