From patchwork Tue Aug 16 02:08:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 1069772 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7G25ib0021209 for ; Tue, 16 Aug 2011 02:08:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752498Ab1HPCIa (ORCPT ); Mon, 15 Aug 2011 22:08:30 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:36190 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910Ab1HPCI3 (ORCPT ); Mon, 15 Aug 2011 22:08:29 -0400 Received: from joe.akashicho.tokyo.vergenet.net (joe.akashicho.tokyo.vergenet.net [IPv6:2001:470:f44f:403:1ec1:deff:fe98:754d]) by kirsty.vergenet.net (Postfix) with ESMTP id F0CEC245A6; Tue, 16 Aug 2011 12:08:26 +1000 (EST) Received: by joe.akashicho.tokyo.vergenet.net (Postfix, from userid 7100) id 1226B28A036; Tue, 16 Aug 2011 11:08:24 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Chris Ball , Guennadi Liakhovetski , Magnus Damm , Paul Mundt , Simon Horman Subject: [PATCH 3/5] mmc: sdhi: Add defines for platform irq indexes Date: Tue, 16 Aug 2011 11:08:17 +0900 Message-Id: <1313460499-3377-4-git-send-email-horms@verge.net.au> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1313460499-3377-1-git-send-email-horms@verge.net.au> References: <1313460499-3377-1-git-send-email-horms@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 16 Aug 2011 02:08:46 +0000 (UTC) This is intended to make it easier to correctly order platform defines in platform data and the logic that uses them. Cc: Guennadi Liakhovetski Cc: Magnus Damm Cc: Paul Mundt Signed-off-by: Simon Horman --- include/linux/mmc/sh_mobile_sdhi.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h index bd50b36..c66c58c 100644 --- a/include/linux/mmc/sh_mobile_sdhi.h +++ b/include/linux/mmc/sh_mobile_sdhi.h @@ -3,6 +3,10 @@ #include +#define SH_MOBILE_SDHI_IRQ_SDCARD 0 +#define SH_MOBILE_SDHI_IRQ_CARD_DETECT 1 +#define SH_MOBILE_SDHI_IRQ_SDIO 2 + struct platform_device; struct tmio_mmc_data;