From a972b8d701814317be2b8bcca4103f37bcbb467c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Apr 2011 04:40:46 -0400 Subject: gpio: generalize for all generic gpio providers The Blackfin gpio command isn't terribly Blackfin-specific. So generalize the few pieces into two new optional helpers: name_to_gpio() - turn a string name into a GPIO # gpio_status() - display current pin bindings (think /proc/gpio) Once these pieces are pulled out, we can relocate the cmd_gpio.c into the common directory. Signed-off-by: Mike Frysinger --- arch/blackfin/cpu/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/blackfin/cpu/Makefile') diff --git a/arch/blackfin/cpu/Makefile b/arch/blackfin/cpu/Makefile index 4a9e577a87..df10f1bc65 100644 --- a/arch/blackfin/cpu/Makefile +++ b/arch/blackfin/cpu/Makefile @@ -18,7 +18,6 @@ CEXTRA := initcode.o SEXTRA := start.o SOBJS := interrupt.o cache.o COBJS-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount.o -COBJS-$(CONFIG_CMD_GPIO) += cmd_gpio.o COBJS-y += cpu.o COBJS-y += gpio.o COBJS-y += interrupts.o -- cgit v1.2.1