diff options
Diffstat (limited to 'arch/mips/include/asm/mach-loongson64/gpio.h')
-rw-r--r-- | arch/mips/include/asm/mach-loongson64/gpio.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/mips/include/asm/mach-loongson64/gpio.h b/arch/mips/include/asm/mach-loongson64/gpio.h deleted file mode 100644 index b3b216904a9a..000000000000 --- a/arch/mips/include/asm/mach-loongson64/gpio.h +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* | ||
2 | * Loongson GPIO Support | ||
3 | * | ||
4 | * Copyright (c) 2008 Richard Liu, STMicroelectronics <richard.liu@st.com> | ||
5 | * Copyright (c) 2008-2010 Arnaud Patard <apatard@mandriva.com> | ||
6 | * Copyright (c) 2014 Huacai Chen <chenhc@lemote.com> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | */ | ||
13 | |||
14 | #ifndef __LOONGSON_GPIO_H | ||
15 | #define __LOONGSON_GPIO_H | ||
16 | |||
17 | #include <asm-generic/gpio.h> | ||
18 | |||
19 | #define gpio_get_value __gpio_get_value | ||
20 | #define gpio_set_value __gpio_set_value | ||
21 | #define gpio_cansleep __gpio_cansleep | ||
22 | |||
23 | /* The chip can do interrupt | ||
24 | * but it has not been tested and doc not clear | ||
25 | */ | ||
26 | static inline int gpio_to_irq(int gpio) | ||
27 | { | ||
28 | return -EINVAL; | ||
29 | } | ||
30 | |||
31 | static inline int irq_to_gpio(int gpio) | ||
32 | { | ||
33 | return -EINVAL; | ||
34 | } | ||
35 | |||
36 | #endif /* __LOONGSON_GPIO_H */ | ||