From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tero Kristo <t-kristo@ti.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
paul@pwsan.com
Subject: Re: [PATCH] ARM: OMAP2: twl-common: fix compiler warnings
Date: Fri, 06 Jul 2012 12:07:47 +0200 [thread overview]
Message-ID: <4FF6B8F3.8010501@ti.com> (raw)
In-Reply-To: <1340880592-21700-1-git-send-email-t-kristo@ti.com>
Hi Tero,
On 06/28/2012 12:49 PM, Tero Kristo wrote:
> OMAP2 does not use the external voltage controller code for TWL, and
> thus OMAP2 only compilation generates following warnings:
>
> arch/arm/mach-omap2/twl-common.c:51: warning: 'twl_set_voltage' defined but not used
> arch/arm/mach-omap2/twl-common.c:57: warning: 'twl_get_voltage' defined but not used
>
> This patch moves the code in question behind ARCH specific flags and
> eliminates these warnings.
>
> Reported-by: Paul Walmsley <paul@pwsan.com>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
I did sent similar patch:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg70432.html
Tony applied it to fixes I think already.
--
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" 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: peter.ujfalusi@ti.com (Peter Ujfalusi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2: twl-common: fix compiler warnings
Date: Fri, 06 Jul 2012 12:07:47 +0200 [thread overview]
Message-ID: <4FF6B8F3.8010501@ti.com> (raw)
In-Reply-To: <1340880592-21700-1-git-send-email-t-kristo@ti.com>
Hi Tero,
On 06/28/2012 12:49 PM, Tero Kristo wrote:
> OMAP2 does not use the external voltage controller code for TWL, and
> thus OMAP2 only compilation generates following warnings:
>
> arch/arm/mach-omap2/twl-common.c:51: warning: 'twl_set_voltage' defined but not used
> arch/arm/mach-omap2/twl-common.c:57: warning: 'twl_get_voltage' defined but not used
>
> This patch moves the code in question behind ARCH specific flags and
> eliminates these warnings.
>
> Reported-by: Paul Walmsley <paul@pwsan.com>
> Signed-off-by: Tero Kristo <t-kristo@ti.com>
I did sent similar patch:
http://www.mail-archive.com/linux-omap at vger.kernel.org/msg70432.html
Tony applied it to fixes I think already.
--
P?ter
next prev parent reply other threads:[~2012-07-06 10:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 10:49 [PATCH] ARM: OMAP2: twl-common: fix compiler warnings Tero Kristo
2012-06-28 10:49 ` Tero Kristo
2012-06-29 22:42 ` Paul Walmsley
2012-06-29 22:42 ` Paul Walmsley
2012-07-06 8:53 ` Tony Lindgren
2012-07-06 8:53 ` Tony Lindgren
2012-07-06 10:02 ` Tero Kristo
2012-07-06 10:02 ` Tero Kristo
2012-07-06 10:07 ` Peter Ujfalusi [this message]
2012-07-06 10:07 ` Peter Ujfalusi
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=4FF6B8F3.8010501@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=t-kristo@ti.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.