diff options
author | Jan Kotas <jank@cadence.com> | 2019-04-04 10:12:21 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-05-27 07:06:28 +0200 |
commit | 18de65d9e71a2ea20b9a7b4efbfcc5baa4f0d252 (patch) | |
tree | aa0e6a05c0c361ee1849745f9d0229ffcd4e4b56 /drivers/soundwire | |
parent | Linux 5.2-rc1 (diff) | |
download | linux-18de65d9e71a2ea20b9a7b4efbfcc5baa4f0d252.tar.xz linux-18de65d9e71a2ea20b9a7b4efbfcc5baa4f0d252.zip |
soundwire: cdns: Fix compilation error on arm64
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>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/cadence_master.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c index 682789bb8ab3..d56237bb351f 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> |