diff options
author | Jan Kotas | 2019-04-04 09:12:21 +0100 |
---|---|---|
committer | Vinod Koul | 2019-05-27 10:36:28 +0530 |
commit | 18de65d9e71a2ea20b9a7b4efbfcc5baa4f0d252 (patch) | |
tree | aa0e6a05c0c361ee1849745f9d0229ffcd4e4b56 /drivers/soundwire | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
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> |