From e80a6fda561d205ab92d04b0358fb6aa6ff60508 Mon Sep 17 00:00:00 2001 From: Wesley Sheng Date: Thu, 11 Oct 2018 17:57:06 +0800 Subject: [PATCH] switchtec: fix compile error for readq and writeq on unsupport systems include so that readq/writeq is replaced by two readl/writel on systems that do not support it Reported-by: Nikola Trifunovic Suggested-by: Logan Gunthorpe Signed-off-by: Wesley Sheng --- switchtec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switchtec.c b/switchtec.c index cd5534e..42cca5f 100644 --- a/switchtec.c +++ b/switchtec.c @@ -22,7 +22,7 @@ #include #include #include - +#include #include #include "version.h"