]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
gpio: rename gpio-generic.c into gpio-mmio.c
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 28 Apr 2016 09:05:12 +0000 (11:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Apr 2016 14:14:32 +0000 (16:14 +0200)
This patch renames the gpio-generic.c into gpio-mmio.c.
This is because currently the file only contains code
for a memory-mapped GPIO driver. There isn't any support
for ioports or other resource type.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Makefile
drivers/gpio/gpio-mmio.c [moved from drivers/gpio/gpio-generic.c with 100% similarity]

index 74eb1a7b20c587e1108327950908da992bffc960..991598ea3fba09ee9e5724a11f41666d5a95f085 100644 (file)
@@ -12,6 +12,9 @@ obj-$(CONFIG_GPIO_ACPI)               += gpiolib-acpi.o
 # Device drivers. Generally keep list sorted alphabetically
 obj-$(CONFIG_GPIO_GENERIC)     += gpio-generic.o
 
+# directly supported by gpio-generic
+gpio-generic-$(CONFIG_GPIO_GENERIC)    += gpio-mmio.o
+
 obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o
 obj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o
 obj-$(CONFIG_GPIO_104_IDI_48)  += gpio-104-idi-48.o