diff options
author | Sebastian Reichel <sre@ring0.de> | 2016-01-28 00:41:37 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2016-01-31 00:39:45 +0100 |
commit | b1744a38515fe073c3e8bdf892c7a64da3652b4c (patch) | |
tree | 60655ba3c7b911034e4a72fdce41df2b251c410f /plugins/nokia-gpio.h | |
parent | 08e16e7862a63979dbc34feb4c09a42c8919c03e (diff) | |
download | ofono-b1744a38515fe073c3e8bdf892c7a64da3652b4c.tar.bz2 |
n900: add n950 support
The Nokia N950 can use the same driver as the Nokia N900,
but the CBS interface is broken and must not be enabled.
Diffstat (limited to 'plugins/nokia-gpio.h')
-rw-r--r-- | plugins/nokia-gpio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/nokia-gpio.h b/plugins/nokia-gpio.h index b653bb8c..5d927194 100644 --- a/plugins/nokia-gpio.h +++ b/plugins/nokia-gpio.h @@ -19,6 +19,12 @@ * */ +enum rapu_type { + UNKNOWN, + RAPU_TYPE_1, + RAPU_TYPE_2, +}; + enum power_state { POWER_STATE_NONE, POWER_STATE_ON_STARTED, @@ -36,5 +42,6 @@ int gpio_probe(GIsiModem *idx, unsigned addr, gpio_finished_cb_t cb, void *data) int gpio_enable(void *opaque); int gpio_disable(void *opaque); int gpio_remove(void *opaque); +int gpio_rapuyama_version(void *data); char const *gpio_power_state_name(enum power_state value); |