[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191204133328.18668-1-linux@roeck-us.net>
Date: Wed, 4 Dec 2019 05:33:28 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Brian Cain <bcain@...eaurora.org>
Cc: linux-hexagon@...r.kernel.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Tuowen Zhao <ztuowen@...il.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Lee Jones <lee.jones@...aro.org>
Subject: [PATCH] hexagon: io: Define ioremap_uc to fix build error
ioremap_uc is now mandatory.
lib/devres.c:44:3: error: implicit declaration of function 'ioremap_uc'
Fixes: e537654b7039 ("lib: devres: add a helper function for ioremap_uc")
Cc: Tuowen Zhao <ztuowen@...il.com>
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Luis Chamberlain <mcgrof@...nel.org>
Cc: Lee Jones <lee.jones@...aro.org>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
arch/hexagon/include/asm/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/hexagon/include/asm/io.h b/arch/hexagon/include/asm/io.h
index 539e3efcf39c..39e5605c5d42 100644
--- a/arch/hexagon/include/asm/io.h
+++ b/arch/hexagon/include/asm/io.h
@@ -173,7 +173,7 @@ static inline void writel(u32 data, volatile void __iomem *addr)
void __iomem *ioremap(unsigned long phys_addr, unsigned long size);
#define ioremap_nocache ioremap
-
+#define ioremap_uc ioremap
#define __raw_writel writel
--
2.17.1
Powered by blists - more mailing lists