Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e856bb1f authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: SAMSUNG: Remove empty gpio-core.h and use central plat/gpio-core.h



Rename mach-s3c2410/include/mach/gpio-core.h to mach/gpio-track.h so that
it can be included by <plat/gpio-core.h> when needed.

Eliminate all other empty gpio-core.h files and just include the
<plat/gpio-core.h> as necessary.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 16e2c7c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
#ifndef __ASM_ARCH_GPIO_CORE_H
#define __ASM_ARCH_GPIO_CORE_H __FILE__

#include <plat/gpio-core.h>
#include <mach/regs-gpio.h>

extern struct s3c_gpio_chip s3c24xx_gpios[];
+0 −21
Original line number Diff line number Diff line
/* arch/arm/mach-s3c6400/include/mach/gpio-core.h
 *
 * Copyright 2008 Openmoko, Inc.
 * Copyright 2008 Simtec Electronics
 *      Ben Dooks <ben@simtec.co.uk>
 *      http://armlinux.simtec.co.uk/
 *
 * S3C64XX - GPIO core support
 *
 * 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 __ASM_ARCH_GPIO_CORE_H
#define __ASM_ARCH_GPIO_CORE_H __FILE__

/* currently we just include the platform support */
#include <plat/gpio-core.h>

#endif /* __ASM_ARCH_GPIO_CORE_H */
+0 −19
Original line number Diff line number Diff line
/* linux/arch/arm/mach-s5p6440/include/mach/gpio-core.h
 *
 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com/
 *
 * S5P6440 - GPIO core support
 *
 * 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 __ASM_ARCH_GPIO_CORE_H
#define __ASM_ARCH_GPIO_CORE_H __FILE__

/* currently we just include the platform support */
#include <plat/gpio-core.h>

#endif /* __ASM_ARCH_GPIO_CORE_H */
+0 −21
Original line number Diff line number Diff line
/* arch/arm/mach-s5pc100/include/mach/gpio-core.h
 *
 * Copyright 2009 Samsung Electronics Co.
 *      Byungho Min <bhmin@samsung.com>
 *
 * S5PC100 - GPIO core support
 *
 * Based on mach-s3c6400/include/mach/gpio-core.h
 *
 * 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 __ASM_ARCH_GPIO_CORE_H
#define __ASM_ARCH_GPIO_CORE_H __FILE__

/* currently we just include the platform support */
#include <plat/gpio-core.h>

#endif /* __ASM_ARCH_GPIO_CORE_H */
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
#include <linux/io.h>
#include <linux/gpio.h>

#include <mach/gpio-core.h>
#include <plat/gpio-core.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <plat/pm.h>
Loading