summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLaurentiu Tudor2017-07-19 13:42:31 +0200
committerGreg Kroah-Hartman2017-07-30 17:23:28 +0200
commita7fb818e6911eedfc63b4324018c832d8b7a90f5 (patch)
treed6f97cf91cabdf6dad53d40556847eefa3f6ec68 /drivers
parentstaging: fsl-mc: don't use raw device io functions (diff)
downloadkernel-qcow2-linux-a7fb818e6911eedfc63b4324018c832d8b7a90f5.tar.gz
kernel-qcow2-linux-a7fb818e6911eedfc63b4324018c832d8b7a90f5.tar.xz
kernel-qcow2-linux-a7fb818e6911eedfc63b4324018c832d8b7a90f5.zip
staging: fsl-mc: make the driver compile on 32-bit
Since there's no real constrain in MC to do only atomic 64-bit we can enable this driver on 32-bit platforms too. Include linux/io-64-nonatomic-hi-lo.h to make quad device io apis used in the driver available on 32-bit platforms. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/fsl-mc/bus/mc-sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/staging/fsl-mc/bus/mc-sys.c
index 8a6dc477920f..7ce105bd3977 100644
--- a/drivers/staging/fsl-mc/bus/mc-sys.c
+++ b/drivers/staging/fsl-mc/bus/mc-sys.c
@@ -37,6 +37,7 @@
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/io.h>
+#include <linux/io-64-nonatomic-hi-lo.h>
#include "../include/mc.h"
#include "dpmcp.h"