From patchwork Mon Feb 22 04:37:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 81075 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o1M4bp6V003380 for ; Mon, 22 Feb 2010 04:37:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754597Ab0BVEhg (ORCPT ); Sun, 21 Feb 2010 23:37:36 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:33666 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754568Ab0BVEhf (ORCPT ); Sun, 21 Feb 2010 23:37:35 -0500 Received: by vws11 with SMTP id 11so880816vws.19 for ; Sun, 21 Feb 2010 20:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=FKSAmR/xeHZSe5MLNOixKKbIjYdkGKH93sQxviJEMyY=; b=ukLo+saF6CZavXhOI+DRl/ulQNB2Cd9eEDxfpScIximyPTeI8g/42NIbu47T48wK8j m5jgMHyZSJP6Wy0oqAdLr+rDtP39YOKIE4RFhni34W2ywuzsRPPH4bVUZ/uKK1O/PE3r mh0JMGSc61N4FMopEolyzCd9OiAeY3fpAtsIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=BtknjO9Il+R5dvoJ6yRWF15RHHXYgjP04YeUG5U/ig5vRFiZi17wcJHUbRv03yRx2l WrMKs47r6PrHcM6IkExZ3Xzn151Tx+fVyYCeAfa7JjiDyAPEAN/MEm39IBj0DmSxferF RClZ+O6ZMWkXrBtKKHK3jf8Z6fVeDrq+69CdY= Received: by 10.220.121.136 with SMTP id h8mr1709737vcr.84.1266813450372; Sun, 21 Feb 2010 20:37:30 -0800 (PST) Received: from ?127.0.0.1? (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 37sm28809670vws.15.2010.02.21.20.37.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Feb 2010 20:37:29 -0800 (PST) From: Magnus Damm To: linux-kernel@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org, sameo@linux.intel.com, linux-sh@vger.kernel.org Date: Mon, 22 Feb 2010 13:37:09 +0900 Message-Id: <20100222043709.4675.49750.sendpatchset@t400s> Subject: [PATCH] mfd: sh_mobile_sdhi MMC_CAP_MMC_HIGHSPEED support 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.3 (demeter.kernel.org [140.211.167.41]); Mon, 22 Feb 2010 04:37:53 +0000 (UTC) --- 0001/drivers/mfd/sh_mobile_sdhi.c +++ work/drivers/mfd/sh_mobile_sdhi.c 2010-02-22 11:51:12.000000000 +0900 @@ -21,7 +21,7 @@ #include #include #include - +#include #include #include #include @@ -95,9 +95,9 @@ static int __init sh_mobile_sdhi_probe(s clk_enable(priv->clk); - /* FIXME: silly const unsigned int hclk */ - *(unsigned int *)&priv->mmc_data.hclk = clk_get_rate(priv->clk); + priv->mmc_data.hclk = clk_get_rate(priv->clk); priv->mmc_data.set_pwr = sh_mobile_sdhi_set_pwr; + priv->mmc_data.capabilities = MMC_CAP_MMC_HIGHSPEED; memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc)); priv->cell_mmc.driver_data = &priv->mmc_data;