linux/arch/arm/mach-prima2/include/mach
Arnd Bergmann 7bec207427 pinctrl: sirf: remove sirfsoc_gpio_set_pull function
The prima2 platform advertises needing no mach/gpio.h header file,
but its pinctrl driver now has a sirfsoc_gpio_set_pull function
that uses constants defined in arch/arm/mach-prima2/include/mach/gpio.h,
which fails to build.

Fortunately, the sirfsoc_gpio_set_pull is not used anywhere in the
kernel, so we can safely remove it. Any out of tree drivers using
it will have to be converted to use proper pinctrl functions to
do the same.

Without this patch, building prima2_defconfig results in:

drivers/pinctrl/pinctrl-sirf.c: In function 'sirfsoc_gpio_set_pull':
drivers/pinctrl/pinctrl-sirf.c:1331:7: error: 'SIRFSOC_GPIO_PULL_NONE' undeclared (first use in this function)
drivers/pinctrl/pinctrl-sirf.c:1331:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/pinctrl/pinctrl-sirf.c:1334:7: error: 'SIRFSOC_GPIO_PULL_UP' undeclared (first use in this function)
drivers/pinctrl/pinctrl-sirf.c:1338:7: error: 'SIRFSOC_GPIO_PULL_DOWN' undeclared (first use in this function)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-10-15 09:09:27 +02:00
..
clkdev.h ARM: CSR: Adding CSR SiRFprimaII board support 2011-07-09 07:19:28 +08:00
debug-macro.S ARM: add an extra temp register to the low level debugging addruart macro 2011-09-26 10:11:25 -04:00
entry-macro.S ARM: remove disable_fiq and arch_ret_to_user macros 2012-02-21 17:05:18 -06:00
hardware.h ARM: CSR: Adding CSR SiRFprimaII board support 2011-07-09 07:19:28 +08:00
irqs.h PINCTRL: SiRF: add GPIO and GPIO irq support in CSR SiRFprimaII 2012-07-02 10:59:07 +08:00
map.h ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END 2011-11-15 22:30:38 -05:00
timex.h ARM: CSR: Adding CSR SiRFprimaII board support 2011-07-09 07:19:28 +08:00
uart.h ARM: CSR: Adding CSR SiRFprimaII board support 2011-07-09 07:19:28 +08:00
uncompress.h ARM: prima2: use __iomem pointers for MMIO 2012-09-19 15:19:16 +02:00