mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Qiao Zhou <zhouqiao@marvell.com>
To: <broonie@linaro.org>, <mika.westerberg@linux.intel.com>,
	<haojian.zhuang@gmail.com>, <zonque@gmail.com>,
	<linux-kernel@vger.kernel.org>
Cc: Qiao Zhou <zhouqiao@marvell.com>
Subject: [PATCH] ssp/pxa2xx: add ssp support for mach-mmp
Date: Wed, 18 Dec 2013 14:08:29 +0800	[thread overview]
Message-ID: <1387346909-32512-1-git-send-email-zhouqiao@marvell.com> (raw)

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


             reply	other threads:[~2013-12-18  6:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18  6:08 Qiao Zhou [this message]
2013-12-18  9:15 ` Mika Westerberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387346909-32512-1-git-send-email-zhouqiao@marvell.com \
    --to=zhouqiao@marvell.com \
    --cc=broonie@linaro.org \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=zonque@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®