diff options
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr1/gpio-target.h')
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr1/gpio-target.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr1/gpio-target.h b/firmware/target/hosted/samsungypr/ypr1/gpio-target.h index f439e786de..706f8dd249 100644 --- a/firmware/target/hosted/samsungypr/ypr1/gpio-target.h +++ b/firmware/target/hosted/samsungypr/ypr1/gpio-target.h | |||
@@ -23,8 +23,6 @@ | |||
23 | #ifndef GPIO_TARGET_H | 23 | #ifndef GPIO_TARGET_H |
24 | #define GPIO_TARGET_H | 24 | #define GPIO_TARGET_H |
25 | 25 | ||
26 | #include "ioctl-ypr1.h" | ||
27 | |||
28 | /* Some meaningful pins used in the YP-R1 */ | 26 | /* Some meaningful pins used in the YP-R1 */ |
29 | 27 | ||
30 | #define GPIO_HEADPHONE_SENSE GPIO1_31 | 28 | #define GPIO_HEADPHONE_SENSE GPIO1_31 |
@@ -58,10 +56,7 @@ | |||
58 | #define GPIO_POWER_KEY GPIO2_16 | 56 | #define GPIO_POWER_KEY GPIO2_16 |
59 | 57 | ||
60 | #define GPIO_DEVICE "/dev/r1Gpio" | 58 | #define GPIO_DEVICE "/dev/r1Gpio" |
61 | 59 | /* Strangely for whatever reason magic differs from R0 (A vs. G) */ | |
62 | void gpio_init(void); | 60 | #define GPIO_IOCTL_MAGIC 'A' |
63 | void gpio_close(void); | ||
64 | int gpio_control_struct(int request, struct gpio_info pin); | ||
65 | int gpio_control(int request, int num, int mode, int val); | ||
66 | 61 | ||
67 | #endif /* GPIO_TARGET_H */ | 62 | #endif /* GPIO_TARGET_H */ |