diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-02-28 14:42:54 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-03 13:52:02 -0800 |
commit | c7b07265046b5db56778dc8c2cfc9056413ec5ba (patch) | |
tree | c9351cf4892a8aeecfdfdaf2110a4f36a631095c /drivers/staging/greybus/protocol.h | |
parent | 3522a09fa7df45b49c27997b419a20d9dcff8919 (diff) | |
download | linux-c7b07265046b5db56778dc8c2cfc9056413ec5ba.tar.bz2 |
greybus: gpbridge.h: move protocol init/exit prototypes
Create gpbridge.h for the gpbridge-specific function prototypes, the
rest of the greybus drivers don't care about them.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Diffstat (limited to 'drivers/staging/greybus/protocol.h')
-rw-r--r-- | drivers/staging/greybus/protocol.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/greybus/protocol.h b/drivers/staging/greybus/protocol.h index 26c59efd9ed8..38fe14cf46ce 100644 --- a/drivers/staging/greybus/protocol.h +++ b/drivers/staging/greybus/protocol.h @@ -48,32 +48,6 @@ int gb_protocol_get_version(struct gb_connection *connection); void gb_protocol_put(struct gb_protocol *protocol); -/* - * These are defined in their respective protocol source files. - * Declared here for now. They could be added via modules, or maybe - * just use initcalls (which level?). - */ -extern int gb_gpio_protocol_init(void); -extern void gb_gpio_protocol_exit(void); - -extern int gb_pwm_protocol_init(void); -extern void gb_pwm_protocol_exit(void); - -extern int gb_uart_protocol_init(void); -extern void gb_uart_protocol_exit(void); - -extern int gb_sdio_protocol_init(void); -extern void gb_sdio_protocol_exit(void); - -extern int gb_usb_protocol_init(void); -extern void gb_usb_protocol_exit(void); - -extern int gb_i2c_protocol_init(void); -extern void gb_i2c_protocol_exit(void); - -extern int gb_spi_protocol_init(void); -extern void gb_spi_protocol_exit(void); - /* __protocol: Pointer to struct gb_protocol */ #define gb_protocol_driver(__protocol) \ static int __init protocol_init(void) \ |