From patchwork Sat Oct 4 23:26:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Fenkart X-Patchwork-Id: 5033171 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E73F2C11AB for ; Sat, 4 Oct 2014 23:27:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E83A20179 for ; Sat, 4 Oct 2014 23:27:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A76D720173 for ; Sat, 4 Oct 2014 23:27:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751056AbaJDX1P (ORCPT ); Sat, 4 Oct 2014 19:27:15 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:64770 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751289AbaJDX1J (ORCPT ); Sat, 4 Oct 2014 19:27:09 -0400 Received: by mail-wi0-f173.google.com with SMTP id fb4so1710094wid.0 for ; Sat, 04 Oct 2014 16:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oDNr6N/8zS69EZzngNm8hl74ZqoSAreB8fQuRC0MloE=; b=qQFVbCKpiABwRLqaPsy8uoizNvtULIz+pS0h16yzwk4Hkc4irxp/hS585pfsMSR5MT 0godR0gn+s0sdWSquQCwwFqrPP0qEadDLDKqGDU/tT7X1tAp0zBsso/wRa6FBvI+0tJ8 ONz7WAQazF5d7R9J0FuxqxNBjZU1KbNqqGAANuxhOKKdUM1yxULmlnTX2ZmpMLyHFnLJ cewW+Jo2DT6dvH1fN8JLQhOn5FWj+dRfhkPdyZTmniE/8HaGtnGBxiisV1kQrPD8fx8W bYcgOoe+X85NH4VgAUecBepW7oumM5mcs/OHRd1A3EGdvC/U8JMBsSLloyTFsj82uoqe 804g== X-Received: by 10.180.207.104 with SMTP id lv8mr8595719wic.35.1412465227791; Sat, 04 Oct 2014 16:27:07 -0700 (PDT) Received: from localhost (ip-94-112-1-174.net.upcbroadband.cz. [94.112.1.174]) by mx.google.com with ESMTPSA id os4sm11297270wjc.48.2014.10.04.16.27.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Oct 2014 16:27:07 -0700 (PDT) From: Andreas Fenkart To: linux-mmc@vger.kernel.org Cc: linux-omap@vger.kernel.org, Tony Lindgren , Ulf Hansson , pascal.huerst@gmail.com, Andreas Fenkart Subject: [PATCH v3 1/3] ARM: OMAP2+: remove unused defines from mach-omap2/mmc header Date: Sun, 5 Oct 2014 01:26:55 +0200 Message-Id: <1412465217-17454-2-git-send-email-afenkart@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1412465217-17454-1-git-send-email-afenkart@gmail.com> References: <1412465217-17454-1-git-send-email-afenkart@gmail.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP build tested for these architectures CONFIG_MACH_OMAP2_TUSB6010=y CONFIG_MACH_OMAP3_BEAGLE=y CONFIG_MACH_DEVKIT8000=y CONFIG_MACH_OMAP_LDP=y CONFIG_MACH_OMAP3530_LV_SOM=y CONFIG_MACH_OMAP3_TORPEDO=y CONFIG_MACH_OVERO=y CONFIG_MACH_OMAP3517EVM=y CONFIG_MACH_CRANEBOARD=y CONFIG_MACH_OMAP3_PANDORA=y CONFIG_MACH_TOUCHBOOK=y CONFIG_MACH_OMAP_3430SDP=y CONFIG_MACH_NOKIA_N810=y CONFIG_MACH_NOKIA_N810_WIMAX=y CONFIG_MACH_NOKIA_N8X0=y CONFIG_MACH_NOKIA_RX51=y CONFIG_MACH_CM_T35=y CONFIG_MACH_CM_T3517=y CONFIG_MACH_CM_T3730=y CONFIG_MACH_SBC3530=y CONFIG_MACH_TI8168EVM=y CONFIG_MACH_TI8148EVM=y Signed-off-by: Andreas Fenkart diff --git a/arch/arm/mach-omap2/mmc.h b/arch/arm/mach-omap2/mmc.h index 0cd4b08..ea4fddf 100644 --- a/arch/arm/mach-omap2/mmc.h +++ b/arch/arm/mach-omap2/mmc.h @@ -2,18 +2,6 @@ #include #define OMAP24XX_NR_MMC 2 -#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE -#define OMAP2_MMC1_BASE 0x4809c000 - -#define OMAP4_MMC_REG_OFFSET 0x100 - -#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) -void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data); -#else -static inline void omap242x_init_mmc(struct omap_mmc_platform_data **mmc_data) -{ -} -#endif struct omap_hwmod; int omap_msdi_reset(struct omap_hwmod *oh);