[PATCH] ARM: S3C24XX: fix missing common.h in mach-s3c24xx/

Sergei Shtylyov sshtylyov at mvista.com
Thu Mar 29 08:28:31 EDT 2012


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 at 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



More information about the linux-arm-kernel mailing list