* [PATCH] ssp/pxa2xx: add ssp support for mach-mmp
@ 2013-12-18 6:08 Qiao Zhou
2013-12-18 9:15 ` Mika Westerberg
0 siblings, 1 reply; 2+ messages in thread
From: Qiao Zhou @ 2013-12-18 6:08 UTC (permalink / raw)
To: broonie, mika.westerberg, haojian.zhuang, zonque, linux-kernel; +Cc: Qiao Zhou
mach-mmp also uses ssp request/free APIs. Add mach-mmp support.
Otherwise there will be redefinition error.
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
---
include/linux/pxa2xx_ssp.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
index 4944420..8a2b87e 100644
--- a/include/linux/pxa2xx_ssp.h
+++ b/include/linux/pxa2xx_ssp.h
@@ -219,7 +219,7 @@ static inline u32 pxa_ssp_read_reg(struct ssp_device *dev, u32 reg)
return __raw_readl(dev->mmio_base + reg);
}
-#ifdef CONFIG_ARCH_PXA
+#if defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP)
struct ssp_device *pxa_ssp_request(int port, const char *label);
void pxa_ssp_free(struct ssp_device *);
struct ssp_device *pxa_ssp_request_of(const struct device_node *of_node,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-18 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18 6:08 [PATCH] ssp/pxa2xx: add ssp support for mach-mmp Qiao Zhou
2013-12-18 9:15 ` Mika Westerberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox