From: Christian Lamparter Date: Thu, 28 Apr 2016 09:05:12 +0000 (+0200) Subject: gpio: rename gpio-generic.c into gpio-mmio.c X-Git-Tag: v4.7-rc1~150^2~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e9f4d569fb897e77200cd431f3aab138c3c733e6;p=users%2Fjedix%2Flinux-maple.git gpio: rename gpio-generic.c into gpio-mmio.c 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 Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 74eb1a7b20c58..991598ea3fba0 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -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 diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-mmio.c similarity index 100% rename from drivers/gpio/gpio-generic.c rename to drivers/gpio/gpio-mmio.c