Commit 9ca98bd0 authored by Jérémy Lefaure's avatar Jérémy Lefaure Committed by Greg Kroah-Hartman

Revert "staging: media: atomisp: fill properly hmm_bo_type_strings when ION is disabled"

This reverts commit fde46970.

Adding a preprocessor condition is not the best solution to fix this
issue. Let's revert this commit before fixing this problem in a more
appropriate way.
Signed-off-by: default avatarJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7bc49cb9
...@@ -49,9 +49,7 @@ const char *hmm_bo_type_strings[HMM_BO_LAST] = { ...@@ -49,9 +49,7 @@ const char *hmm_bo_type_strings[HMM_BO_LAST] = {
"p", /* private */ "p", /* private */
"s", /* shared */ "s", /* shared */
"u", /* user */ "u", /* user */
#ifdef CONFIG_ION
"i", /* ion */ "i", /* ion */
#endif
}; };
static ssize_t bo_show(struct device *dev, struct device_attribute *attr, static ssize_t bo_show(struct device *dev, struct device_attribute *attr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment