All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Kuninori Morimoto <kuninori.morimoto.gx@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Chris Ball <cjb@laptop.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Magnus <magnus.damm@gmail.com>,
	Linux-SH <linux-sh@vger.kernel.org>,
	linux-mmc@vger.kernel.org
Subject: Re: [PATCH] mmc: tmio: fixup compile error
Date: Wed, 8 Jan 2014 13:47:50 +0900	[thread overview]
Message-ID: <20140108044748.GI15891@verge.net.au> (raw)
In-Reply-To: <87fvozxnnn.wl%kuninori.morimoto.gx@gmail.com>

On Tue, Jan 07, 2014 at 05:33:51PM -0800, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> 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 <arnd@arndb.de>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
> >> 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);
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: Kuninori Morimoto <kuninori.morimoto.gx@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Chris Ball <cjb@laptop.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Magnus <magnus.damm@gmail.com>,
	Linux-SH <linux-sh@vger.kernel.org>,
	linux-mmc@vger.kernel.org
Subject: Re: [PATCH] mmc: tmio: fixup compile error
Date: Wed, 08 Jan 2014 04:47:50 +0000	[thread overview]
Message-ID: <20140108044748.GI15891@verge.net.au> (raw)
In-Reply-To: <87fvozxnnn.wl%kuninori.morimoto.gx@gmail.com>

On Tue, Jan 07, 2014 at 05:33:51PM -0800, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> 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 <arnd@arndb.de>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
> >> 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);
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2014-01-08  4:47 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20  8:30 [PATCH 0/4] mmc: tmio/SDHI fixup patches Kuninori Morimoto
2013-11-20  8:30 ` Kuninori Morimoto
2013-11-20  8:30 ` [PATCH 1/4] mmc: tmio: use -EPROBE_DEFER if driver can't find regulator Kuninori Morimoto
2013-11-20  8:30   ` Kuninori Morimoto
2013-11-20  8:30 ` [PATCH 2/4] mmc: tmio: bus_shift become tmio_mmc_data member Kuninori Morimoto
2013-11-20  8:30   ` Kuninori Morimoto
2014-01-07 13:40   ` Arnd Bergmann
2014-01-07 13:40     ` Arnd Bergmann
2014-01-08  1:33     ` [PATCH] mmc: tmio: fixup compile error Kuninori Morimoto
2014-01-08  1:33       ` Kuninori Morimoto
2014-01-08  4:47       ` Simon Horman [this message]
2014-01-08  4:47         ` Simon Horman
2014-01-12 16:22         ` Chris Ball
2013-11-20  8:31 ` [PATCH 3/4] mmc: tmio: add new TMIO_MMC_HAVE_HIGH_REG flags Kuninori Morimoto
2013-11-20  8:31   ` Kuninori Morimoto
2013-11-20  8:31 ` [PATCH 4/4] mmc: SDHI: add SoC specific workaround via HW version Kuninori Morimoto
2013-11-20  8:31   ` Kuninori Morimoto
2013-11-29  2:29 ` [PATCH 0/4] mmc: tmio/SDHI fixup patches Kuninori Morimoto
2013-11-29  2:29   ` Kuninori Morimoto
2013-12-10  2:56 ` Kuninori Morimoto
2013-12-10  2:56   ` Kuninori Morimoto
2013-12-12  1:45 ` Chris Ball
2013-12-12  1:45   ` Chris Ball
2013-12-12  8:26   ` Kuninori Morimoto
2013-12-12  8:26     ` Kuninori Morimoto
2013-12-13  0:11     ` Simon Horman
2013-12-13  0:11       ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140108044748.GI15891@verge.net.au \
    --to=horms@verge.net.au \
    --cc=arnd@arndb.de \
    --cc=cjb@laptop.org \
    --cc=kuninori.morimoto.gx@gmail.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.