From: cbouatmailru@gmail.com (Anton Vorontsov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/3] ARM: cns3xxx: Add new and export the old power management functions
Date: Wed, 24 Nov 2010 19:11:54 +0300 [thread overview]
Message-ID: <20101124161154.GA10890@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1290443565-20766-2-git-send-email-mkl0301@gmail.com>
On Tue, Nov 23, 2010 at 12:32:43AM +0800, mkl0301 at gmail.com wrote:
> From: Mac Lin <mkl0301@gmail.com>
>
> This patch add cns3xxx_pwr_clk_dis, and export thoes power management functions
> that may be used by many other device drivers on CNS3XXX.
>
> Signed-off-by: Mac Lin <mkl0301@gmail.com>
> ---
> arch/arm/mach-cns3xxx/core.h | 4 ++--
> arch/arm/mach-cns3xxx/include/mach/pm.h | 19 +++++++++++++++++++
> arch/arm/mach-cns3xxx/pm.c | 17 +++++++++++++++++
> 3 files changed, 38 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm/mach-cns3xxx/include/mach/pm.h
>
> diff --git a/arch/arm/mach-cns3xxx/core.h b/arch/arm/mach-cns3xxx/core.h
> index 6b33ec1..c6636bd 100644
> --- a/arch/arm/mach-cns3xxx/core.h
> +++ b/arch/arm/mach-cns3xxx/core.h
> @@ -11,13 +11,13 @@
> #ifndef __CNS3XXX_CORE_H
> #define __CNS3XXX_CORE_H
>
> +#include <mach/pm.h>
This isn't needed in this file. Instead, devices.c should include
it. Plus, pm.c needs to include mach/pm.h, otherwise sparse gives
the following warnings:
CHECK arch/arm/mach-cns3xxx/pm.c
pm.c:26:6: warning: symbol 'cns3xxx_pwr_clk_dis' was not declared. Should it be static?
pm.c:35:6: warning: symbol 'cns3xxx_pwr_power_up' was not declared. Should it be static?
pm.c:47:6: warning: symbol 'cns3xxx_pwr_power_down' was not declared. Should it be static?
pm.c:121:10: warning: symbol 'usb_pwr_ref' was not declared. Should it be static?
I've fixed it up, and applied the patch to cns3xxx tree.
Thanks!
--
Anton Vorontsov
Email: cbouatmailru at gmail.com
next prev parent reply other threads:[~2010-11-24 16:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 16:32 [PATCH v2 0/3] USB: add support for cns3xxx SOC's EHCI/OHCI controller mkl0301 at gmail.com
2010-11-22 16:32 ` [PATCH v2 1/3] ARM: cns3xxx: Add new and export the old power management functions mkl0301 at gmail.com
2010-11-24 16:11 ` Anton Vorontsov [this message]
2010-11-22 16:32 ` [PATCH v2 2/3] ARM: cns3xxx: Add architecture definition for EHCI/OHCI controller mkl0301 at gmail.com
2010-11-24 16:11 ` Anton Vorontsov
2010-11-25 7:25 ` Lin Mac
2010-11-25 10:48 ` Anton Vorontsov
2010-11-25 13:51 ` Lin Mac
2010-11-25 13:56 ` Anton Vorontsov
2010-11-25 15:37 ` Alan Stern
2010-11-25 16:15 ` Anton Vorontsov
2010-11-22 16:32 ` [PATCH v2 3/3] USB: cns3xxx: Add EHCI and OHCI bus glue for cns3xxx SOCs mkl0301 at gmail.com
2010-11-24 16:25 ` Anton Vorontsov
2010-11-25 13:12 ` Anton Vorontsov
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=20101124161154.GA10890@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).