From patchwork Sun Sep 26 10:53:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 209872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8QAsOZY010828 for ; Sun, 26 Sep 2010 10:54:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757470Ab0IZKyC (ORCPT ); Sun, 26 Sep 2010 06:54:02 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:54031 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757466Ab0IZKyB (ORCPT ); Sun, 26 Sep 2010 06:54:01 -0400 Received: by iwn5 with SMTP id 5so3807641iwn.19 for ; Sun, 26 Sep 2010 03:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=RMBduRhtFn3Gps/FfUmYFLXvdAY4IN1ddP9odz0gOyw=; b=xssaepxHdI4Lg8kjFMc6atO42v2hzBL8/SNj6wlq/ALfrsabax7fBQ0/pL1aCxysIh CDwOA4hYlguTB/hloPZji0rWoqy3GyHzPMyeLN2dzKjiLA+lov9cdeLcZBxb7XRFiJeK /dZFL0+83c6PrCnNzqedCrXATNWQvxO6xU53k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=ST2eE+ZmCZ5Ct1ON6IPw2mwLkiOZEGmfTkhTnvdogQeFFW2eii7L4ANp6juBvbrdsY QDuO1R9wbkUHB1i4o1b1aDgxqyWmR6lCRXEKfsyuHEv232/yXUrOubFd4jLpR6ReWnhu hGXgZXBzfMb8hh++drgMc72SUcYN14vEYh3c0= MIME-Version: 1.0 Received: by 10.231.36.77 with SMTP id s13mr6727609ibd.190.1285498439693; Sun, 26 Sep 2010 03:53:59 -0700 (PDT) Received: by 10.231.206.203 with HTTP; Sun, 26 Sep 2010 03:53:59 -0700 (PDT) Date: Sun, 26 Sep 2010 06:53:59 -0400 Message-ID: Subject: [PATCH 1/2]sdhci-pltfm add sdhci-pxa From: zhangfei gao To: linux-mmc@vger.kernel.org Cc: Chris Ball , Wolfram Sang , eric.y.miao@gmail.com, Haojian Zhuang Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 26 Sep 2010 10:54:25 +0000 (UTC) From 29b0255431e3d635ae32214b223daef823433885 Mon Sep 17 00:00:00 2001 From: Zhangfei Gao Date: Sun, 26 Sep 2010 18:32:27 -0400 Subject: [PATCH 1/2] sdhci-pltfm: add sdhci-pxa Signed-off-by: Zhangfei Gao --- drivers/mmc/host/sdhci-pltfm.c | 3 +++ drivers/mmc/host/sdhci-pltfm.h | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index e06f047..7511fb7 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -173,6 +173,9 @@ static const struct platform_device_id sdhci_pltfm_ids[] = { #ifdef CONFIG_MMC_SDHCI_CNS3XXX { "sdhci-cns3xxx", (kernel_ulong_t)&sdhci_cns3xxx_pdata }, #endif +#ifdef CONFIG_MMC_SDHCI_PXA + { "sdhci-pxa", (kernel_ulong_t)&sdhci_pxa_pdata }, +#endif { }, }; MODULE_DEVICE_TABLE(platform, sdhci_pltfm_ids); diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h index 900f329..0747f42 100644 --- a/drivers/mmc/host/sdhci-pltfm.h +++ b/drivers/mmc/host/sdhci-pltfm.h @@ -14,5 +14,6 @@ #include extern struct sdhci_pltfm_data sdhci_cns3xxx_pdata; +extern struct sdhci_pltfm_data sdhci_pxa_pdata; #endif /* _DRIVERS_MMC_SDHCI_PLTFM_H */ -- 1.7.0.4