summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-10-20 09:24:57 +0200
committerGreg Kroah-Hartman2014-10-20 09:24:57 +0200
commit2bb7eae8be12e8510fdb00aca6886b91ce72cb25 (patch)
tree70d2e4f460038bb6594842942c130632a512e407 /drivers/staging/greybus/operation.c
parentgreybus: gpio-gb: remove unused status field from struct gb_gpio_get_value_re... (diff)
downloadkernel-qcow2-linux-2bb7eae8be12e8510fdb00aca6886b91ce72cb25.tar.gz
kernel-qcow2-linux-2bb7eae8be12e8510fdb00aca6886b91ce72cb25.tar.xz
kernel-qcow2-linux-2bb7eae8be12e8510fdb00aca6886b91ce72cb25.zip
greybus: battery: some hooking up to the greybus core
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
-rw-r--r--drivers/staging/greybus/operation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c
index 4cbe33e21254..4639212a96da 100644
--- a/drivers/staging/greybus/operation.c
+++ b/drivers/staging/greybus/operation.c
@@ -165,6 +165,7 @@ static gb_operation_recv_handler gb_operation_recv_handlers[] = {
[GREYBUS_PROTOCOL_I2C] = gb_operation_recv_none,
[GREYBUS_PROTOCOL_UART] = NULL,
[GREYBUS_PROTOCOL_HID] = NULL,
+ [GREYBUS_PROTOCOL_BATTERY] = gb_operation_recv_none,
[GREYBUS_PROTOCOL_VENDOR] = NULL,
};