Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1211760

[PATCH v3 1/4] spi: mediatek: add linux/io.h include file

From Leilk Liu <leilk.liu@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/4] spi: mediatek: add linux/io.h include file
Date 2015-08-24 05:50 +0200
Message-ID <q0QVI-4kp-13@gated-at.bofh.it> (permalink)
References <q0QVI-4kp-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


mediatek spi driver uses readl/writel, so add linux/io.h,
even so it's implicitly imported by spi/spi.h

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
 drivers/spi/spi-mt65xx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 43c1dd5..fe4eda3 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -16,6 +16,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/module.h>
 #include <linux/of.h>
-- 
1.8.1.1.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHi v3 0/4] Fixup mediatek spi driver  Leilk Liu <leilk.liu@mediatek.com> - 2015-08-24 05:50 +0200
  [PATCH v3 2/4] spi: mediatek: replace int with u32, delete TAB and define MTK_SPI_PAUSE_INT_STATUS marco Leilk Liu <leilk.liu@mediatek.com> - 2015-08-24 05:50 +0200
    Re: [PATCH v3 2/4] spi: mediatek: replace int with u32, delete TAB  and define MTK_SPI_PAUSE_INT_STATUS marco Mark Brown <broonie@kernel.org> - 2015-08-25 19:50 +0200
  [PATCH v3 1/4] spi: mediatek: add linux/io.h include file Leilk Liu <leilk.liu@mediatek.com> - 2015-08-24 05:50 +0200
  [PATCH v3 3/4] spi: mediatek: add PM clk_prepare_enable fail flow Leilk Liu <leilk.liu@mediatek.com> - 2015-08-24 05:50 +0200

csiph-web