diff mbox

[i-g-t,2/3] intel_watermark: Fix a warning about "const char" return being silly.

Message ID 20170903043853.17899-2-eric@anholt.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Anholt Sept. 3, 2017, 4:38 a.m. UTC
Signed-off-by: Eric Anholt <eric@anholt.net>
---
 tools/intel_watermark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;
 }