[Intel-gfx] [PATCH i-g-t 2/3] intel_watermark: Fix a warning about "const char" return being silly.
Eric Anholt
eric at anholt.net
Sun Sep 3 04:38:52 UTC 2017
Signed-off-by: Eric Anholt <eric at anholt.net>
---
tools/intel_watermark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index d98ef19b0abd..d8c784802c5b 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -110,7 +110,7 @@ struct ilk_wm {
((((lo) >> (shift_lo)) & MASK(size_lo)) | \
((((hi) >> (shift_hi)) & MASK(size_hi)) << (size_lo)))
-static const char pipe_name(int pipe)
+static char pipe_name(int pipe)
{
return 'A' + pipe;
}
--
2.14.1
More information about the Intel-gfx
mailing list