kernel-fxtec-pro1x/arch/arm/mach-prima2
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
..
include/mach pinctrl: sirf: remove sirfsoc_gpio_set_pull function 2012-10-15 09:09:27 +02:00
common.c ARM: PRIMA2: use DT_MACHINE_START and convert to generic board 2012-08-28 17:06:10 +08:00
common.h ARM: prima2: use machine specific hook for late init 2012-05-08 20:36:22 +08:00
irq.c ARM: SIRF: make sirf irqchip driver optional since new SoCs will have GIC 2012-08-28 17:06:10 +08:00
Kconfig ARM: config: sort select statements alphanumerically 2012-10-13 17:11:28 +01:00
l2x0.c ARM: CSR: call l2x0_of_init to init L2 cache of SiRFprimaII 2011-10-24 02:54:21 -07:00
lluart.c ARM: CSR: mapping early DEBUG_LL uart 2011-07-09 07:20:51 +08:00
Makefile ARM: SIRF: make sirf irqchip driver optional since new SoCs will have GIC 2012-08-28 17:06:10 +08:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
pm.c ARM: prima2: use machine specific hook for late init 2012-05-08 20:36:22 +08:00
pm.h ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00
rstc.c ARM: restart: prima2: use new restart hook 2012-01-05 12:57:17 +00:00
rtciobrg.c ARM: CSR: add rtc i/o bridge interface for SiRFprimaII 2011-09-11 09:17:53 +08:00
sleep.S ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00
timer.c ARM: PRIMA2: convert to common clk and finish full clk tree 2012-08-24 12:09:30 -07:00