From: sshtylyov@mvista•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: S3C24XX: fix missing common.h in mach-s3c24xx/
Date: Thu, 29 Mar 2012 16:28:31 +0400 [thread overview]
Message-ID: <4F74556F.10704@mvista.com> (raw)
In-Reply-To: <1332980074-4614-1-git-send-email-kgene.kim@samsung.com>
Hello.
On 29-03-2012 4:14, Kukjin Kim wrote:
> This patch fixes missing mach-s3c24xx/common.h which has been
> lost when regarding s3c24xx directories merged.
> Signed-off-by: Kukjin Kim<kgene.kim@samsung•com>
> ---
> arch/arm/mach-s3c24xx/common.h | 23 +++++++++++++++++++++++
> 1 files changed, 23 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm/mach-s3c24xx/common.h
> diff --git a/arch/arm/mach-s3c24xx/common.h b/arch/arm/mach-s3c24xx/common.h
> new file mode 100644
> index 0000000..a7cd62f
> --- /dev/null
> +++ b/arch/arm/mach-s3c24xx/common.h
> @@ -0,0 +1,23 @@
> +/*
> + * Copyright (c) 2012 Samsung Electronics Co., Ltd.
> + * http://www.samsung.com
> + *
> + * Common Header for S3C24XX SoCs
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
> +#ifndef __ARCH_ARM_MACH_S3C24XX_COMMON_H
> +#define __ARCH_ARM_MACH_S3C24XX_COMMON_H
> +
> +#ifdef CONFIG_CPU_S3C2410
> +void s3c2410_restart(char mode, const char *cmd);
> +#endif
> +
> +#ifdef CONFIG_CPU_S3C244X
> +void s3c244x_restart(char mode, const char *cmd);
> +#endif
Those #ifdef's around function prototypes are not necessary.
> +
> +#endif /* __ARCH_ARM_MACH_S3C24XX_COMMON_H */
WBR, Sergei
next prev parent reply other threads:[~2012-03-29 12:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 0:14 [PATCH] ARM: S3C24XX: fix missing common.h in mach-s3c24xx/ Kukjin Kim
2012-03-29 12:28 ` Sergei Shtylyov [this message]
2012-03-30 22:58 ` Kukjin Kim
2012-04-03 22:33 ` Paul Gortmaker
2012-04-05 15:10 ` Kukjin Kim
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=4F74556F.10704@mvista.com \
--to=sshtylyov@mvista$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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