mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
b0161caa72
When refactoring and breaking out the includes for the machine-specific GPIO configuration, two files were created in <linux/platform_data/gpio-samsung-s3c[24|64]xx.h>, but as that namespace shall be used for defining data exchanged between machines and drivers, using it for these broad macros and config settings is wrong. Move the headers back into the machine-local <mach/gpio-samsung.h> file and think about the next step. Reported-by: Arnd Bergmann <arnd@arndb.de> Cc: Tomasz Figa <tomasz.figa@gmail.com> Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: linux-samsung-soc@vger.kernel.org Acked-by: Mark Brown <broonie@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
25 lines
732 B
C
25 lines
732 B
C
/* Cragganmore 6410 shared definitions
|
|
*
|
|
* Copyright 2011 Wolfson Microelectronics plc
|
|
* Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
*
|
|
* 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 MACH_CRAG6410_H
|
|
#define MACH_CRAG6410_H
|
|
|
|
#include <mach/gpio-samsung.h>
|
|
|
|
#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
|
|
|
|
#define PCA935X_GPIO_BASE GPIO_BOARD_START
|
|
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
|
|
#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
|
|
#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
|
|
#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
|
|
|
|
#endif
|