summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_manifest.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-11-05 16:12:53 -0600
committerGreg Kroah-Hartman <greg@kroah.com>2014-11-05 14:23:50 -0800
commit19d03decd3415a7a0ec6c378720058f29f9568cc (patch)
tree62144f1c2c859ce4ee98f48febe96c5a4a04d12c /drivers/staging/greybus/greybus_manifest.h
parentdbb8894e0c3cf1661d83466faa277a8d436a1cba (diff)
downloadlinux-19d03decd3415a7a0ec6c378720058f29f9568cc.tar.bz2
greybus: register preallocated protocols
Set up protocol structures as static objects in each protocol source file. Pass the address of that in--rather than the protocol id and version information--to the protocol registration routine. Call a central routine to register all our pre-defined protocols. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_manifest.h')
-rw-r--r--drivers/staging/greybus/greybus_manifest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h
index c6988ce2818a..844ab8a745b0 100644
--- a/drivers/staging/greybus/greybus_manifest.h
+++ b/drivers/staging/greybus/greybus_manifest.h
@@ -30,6 +30,7 @@ enum greybus_protocol {
GREYBUS_PROTOCOL_I2C = 0x03,
GREYBUS_PROTOCOL_UART = 0x04,
GREYBUS_PROTOCOL_HID = 0x05,
+ GREYBUS_PROTOCOL_SDIO = 0x06,
GREYBUS_PROTOCOL_BATTERY = 0x08,
GREYBUS_PROTOCOL_LED = 0x0e,
/* ... */