All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soundwire: cdns: Fix compilation error on arm64
@ 2019-04-04  8:12 ` Jan Kotas
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Kotas @ 2019-04-04  8:12 UTC (permalink / raw)
  To: vkoul, sanyog.r.kale, pierre-louis.bossart
  Cc: alsa-devel, linux-kernel, Jan Kotas

On arm64 the cadence_master.c file doesn't compile.

readl and writel are undefined.
This patch fixes that by including io.h.

Signed-off-by: Jan Kotas <jank@cadence.com>
---
 drivers/soundwire/cadence_master.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c
index cb6a331f4..0b5bcc209 100644
--- a/drivers/soundwire/cadence_master.c
+++ b/drivers/soundwire/cadence_master.c
@@ -9,6 +9,7 @@
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
 #include <linux/soundwire/sdw_registers.h>
-- 
2.15.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-05-27  5:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04  8:12 [PATCH] soundwire: cdns: Fix compilation error on arm64 Jan Kotas
2019-04-04  8:12 ` Jan Kotas
2019-04-04  8:52 ` Mukesh Ojha
2019-04-14  9:44 ` Vinod Koul
2019-04-15 12:41   ` [alsa-devel] " Pierre-Louis Bossart
2019-04-16  8:43     ` Jan Kotas
2019-05-09  7:00       ` Jan Kotas
2019-05-09  7:00         ` Jan Kotas
2019-05-27  5:07 ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.