provide 32-bit read/write functions

From: Dmitry Baryshkov <dbaryshkov@gmail.com>

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>

diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index f9302b0..b6d4aac 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -1,6 +1,7 @@
 #ifndef MFD_TMIO_H
 #define MFD_TMIO_H
 
+#include <linux/io.h>
 #include <linux/platform_device.h>
 
 struct fb_videomode;
@@ -23,6 +24,18 @@ struct tmio_fb_data {
 	struct fb_videomode	*modes;
 };
 
+static u32 __maybe_unused tmio_ioread32(const void __iomem *addr)
+{
+	return ((u32) ioread16(addr)) | (((u32) ioread16(addr + 2)) << 16);
+}
+
+static u32 __maybe_unused tmio_iowrite32(u32 val, const void __iomem *addr)
+{
+	iowrite16(val,		addr);
+	iowrite16(val >> 16,	addr + 2);
+	return val;
+}
+
 #define FBIO_TMIO_ACC_WRITE	0x7C639300
 #define FBIO_TMIO_ACC_SYNC	0x7C639301
 
