summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/imx-common/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/imx-common/gpio.h')
-rw-r--r--arch/arm/include/asm/imx-common/gpio.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/include/asm/imx-common/gpio.h b/arch/arm/include/asm/imx-common/gpio.h
deleted file mode 100644
index 26b296b2163..00000000000
--- a/arch/arm/include/asm/imx-common/gpio.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) 2011
- * Stefano Babic, DENX Software Engineering, <sbabic@denx.de>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-
-#ifndef __ASM_ARCH_IMX_GPIO_H
-#define __ASM_ARCH_IMX_GPIO_H
-
-#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
-/* GPIO registers */
-struct gpio_regs {
- u32 gpio_dr; /* data */
- u32 gpio_dir; /* direction */
- u32 gpio_psr; /* pad satus */
-};
-#endif
-
-#define IMX_GPIO_NR(port, index) ((((port)-1)*32)+((index)&31))
-
-#endif