Commit bb2e1c96 authored by Alex Elder's avatar Alex Elder Committed by Greg Kroah-Hartman

greybus: initial operations-based GPIO driver

First cut.
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent ed8800dc
......@@ -206,6 +206,7 @@ int gb_connection_init(struct gb_connection *connection)
case GREYBUS_PROTOCOL_CONTROL:
case GREYBUS_PROTOCOL_AP:
case GREYBUS_PROTOCOL_GPIO:
return gb_gpio_controller_init(connection);
case GREYBUS_PROTOCOL_UART:
case GREYBUS_PROTOCOL_HID:
case GREYBUS_PROTOCOL_VENDOR:
......
This diff is collapsed.
......@@ -265,6 +265,7 @@ void gb_deregister_cport_complete(u16 cport_id);
extern const struct attribute_group *greybus_module_groups[];
int gb_i2c_device_init(struct gb_connection *connection);
int gb_gpio_controller_init(struct gb_connection *connection);
int gb_tty_init(void);
void gb_tty_exit(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment