From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] ARM: S3C24XX: fix missing common.h in mach-s3c24xx/ Date: Thu, 29 Mar 2012 16:28:31 +0400 Message-ID: <4F74556F.10704@mvista.com> References: <1332980074-4614-1-git-send-email-kgene.kim@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:42209 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754339Ab2C2MaC (ORCPT ); Thu, 29 Mar 2012 08:30:02 -0400 Received: by bkcik5 with SMTP id ik5so1888135bkc.19 for ; Thu, 29 Mar 2012 05:30:00 -0700 (PDT) In-Reply-To: <1332980074-4614-1-git-send-email-kgene.kim@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kukjin Kim Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org 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 > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: sshtylyov@mvista.com (Sergei Shtylyov) Date: Thu, 29 Mar 2012 16:28:31 +0400 Subject: [PATCH] ARM: S3C24XX: fix missing common.h in mach-s3c24xx/ In-Reply-To: <1332980074-4614-1-git-send-email-kgene.kim@samsung.com> References: <1332980074-4614-1-git-send-email-kgene.kim@samsung.com> Message-ID: <4F74556F.10704@mvista.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > --- > 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