path: root/arch/x86/include/asm/gpio.h
diff options
authorBjorn Helgaas <>2016-02-02 13:53:30 -0600
committerLinus Walleij <>2016-02-16 00:20:04 +0100
commited07247dbf5b0a23b0289c9e8e4a2ceb9b8f2e9d (patch)
tree6cb8c765c18e30159a4ef7b56f6ce25cf4b784bf /arch/x86/include/asm/gpio.h
parent288e6eaa06877ea925d8dcdac5e56310fa6d8c7c (diff)
gpio: Remove unused asm/gpio.h files
asm/gpio.h is included only by linux/gpio.h, and then only when the arch selects ARCH_HAVE_CUSTOM_GPIO_H. Only the following arches select it: arm avr32 blackfin m68k (COLDFIRE only) sh unicore32. Remove the unused asm/gpio.h files for the arches that do not select ARCH_HAVE_CUSTOM_GPIO_H. This is a follow-on to 7563bbf89d06 ("gpiolib/arches: Centralise bolierplate asm/gpio.h"). Signed-off-by: Bjorn Helgaas <> Acked-by: Thomas Gleixner <> Acked-by: Arnd Bergmann <> Acked-by: Alexandre Courbot <> Signed-off-by: Linus Walleij <>
Diffstat (limited to 'arch/x86/include/asm/gpio.h')
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h
deleted file mode 100644
index b3799d88ffcf..000000000000
--- a/arch/x86/include/asm/gpio.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __LINUX_GPIO_H
-#warning Include linux/gpio.h instead of asm/gpio.h
-#include <linux/gpio.h>