From patchwork Wed Jan 8 01:33:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3451041 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 61556C02DD for ; Wed, 8 Jan 2014 01:33:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA69720144 for ; Wed, 8 Jan 2014 01:33:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D098C20136 for ; Wed, 8 Jan 2014 01:33:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbaAHBdx (ORCPT ); Tue, 7 Jan 2014 20:33:53 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64342 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753284AbaAHBdw (ORCPT ); Tue, 7 Jan 2014 20:33:52 -0500 Received: by mail-pb0-f46.google.com with SMTP id md12so884737pbc.5 for ; Tue, 07 Jan 2014 17:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:to:cc:in-reply-to:references:from:subject :user-agent:mime-version:content-type; bh=YRHWPgqqdAGxxJ7f9cTC1L3bM/oQGwsqmEQyjc7RN0Y=; b=m/RtE9wrCeeETBvkBbxgdgmPeUBNfhSQILOa0qW/oQV7x8GxgW7RslQSpRMhrNYRXr Ndyiic0MLbwmKec8cKtkO9Aco51EK83wvw8i9pDZV+U3T05Pcnj4I1hMyyEPqrXKU1Hz DlJ0svvOlwdTsyhsSZtfL/9NYNoETAzP61bgJFepJ1zIjq4Vk+10WG1RdyQCrbd6PDtt JesHsQdr/okNmOjSwz8QpuxQv9ygSSlvQz4myIsWUe5E1MXPOfjibtpJ2/ySTvdHaFHW 1J1GZh0AdTHobqUZb5OnALir4o6nk4fmHBOc1HV5OwpFJJwQoIcUsW0imHsG5wsnzw0t RGWw== X-Received: by 10.66.187.11 with SMTP id fo11mr9095298pac.47.1389144832110; Tue, 07 Jan 2014 17:33:52 -0800 (PST) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id yi10sm182013705pab.8.2014.01.07.17.33.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 07 Jan 2014 17:33:51 -0800 (PST) Date: Tue, 07 Jan 2014 17:33:51 -0800 (PST) Message-ID: <87fvozxnnn.wl%kuninori.morimoto.gx@gmail.com> To: Arnd Bergmann , Chris Ball Cc: Kuninori Morimoto , Simon , Magnus , "Linux-SH" , linux-mmc@vger.kernel.org In-Reply-To: <201401071440.28355.arnd@arndb.de> References: <87iovn8ohs.wl%kuninori.morimoto.gx@renesas.com> <87fvqr8ogb.wl%kuninori.morimoto.gx@renesas.com> <201401071440.28355.arnd@arndb.de> From: Kuninori Morimoto Subject: [PATCH] mmc: tmio: fixup compile error User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") 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, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Kuninori Morimoto This patch fixup below compile error ${LINUX}/drivers/mmc/host/tmio_mmc.c: In function 'tmio_mmc_probe': ${LINUX}/drivers/mmc/host/tmio_mmc.c:93:35: \ error: 'res_ctl' undeclared (first use in this function) ${LINUX}/drivers/mmc/host/tmio_mmc.c:93:35: \ note: each undeclared identifier is reported only \ once for each function it appears in Reported-by: Arnd Bergmann Signed-off-by: Kuninori Morimoto Acked-by: Simon Horman --- >> Chris This is needed on mmc-next branch. drivers/mmc/host/tmio_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c index 8a781e2..1900abb 100644 --- a/drivers/mmc/host/tmio_mmc.c +++ b/drivers/mmc/host/tmio_mmc.c @@ -90,7 +90,7 @@ static int tmio_mmc_probe(struct platform_device *pdev) return -EINVAL; /* SD control register space size is 0x200, 0x400 for bus_shift=1 */ - pdata->bus_shift = resource_size(res_ctl) >> 10; + pdata->bus_shift = resource_size(res) >> 10; pdata->flags |= TMIO_MMC_HAVE_HIGH_REG; ret = tmio_mmc_host_probe(&host, pdev, pdata);