aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/protocol.h
diff options
context:
space:
mode:
authorGravatar Greg Kroah-Hartman <greg@kroah.com> 2014-12-24 13:01:41 -0800
committerGravatar Greg Kroah-Hartman <greg@kroah.com> 2015-01-02 13:05:42 -0800
commit66b676fd88a681b149e98c462e2c0337c2848770 (patch)
tree0cc4c19957b783d83001b5eb6a138fc5e5171d97 /drivers/staging/greybus/protocol.h
parentgreybus: protocol: add a module owner to a protocol (diff)
downloadlinux-66b676fd88a681b149e98c462e2c0337c2848770.tar.gz
linux-66b676fd88a681b149e98c462e2c0337c2848770.tar.bz2
linux-66b676fd88a681b149e98c462e2c0337c2848770.zip
greybus: vibrator-gb: move vibrator protocol to a stand-alone module.
We can't use the gb_protocol_driver() macro here as we need to do some init and exit logic when loading and removing, so "open code" the module init and exit functions. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/protocol.h')
-rw-r--r--drivers/staging/greybus/protocol.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/greybus/protocol.h b/drivers/staging/greybus/protocol.h
index 62f024dd71bd..7b1c09c941b1 100644
--- a/drivers/staging/greybus/protocol.h
+++ b/drivers/staging/greybus/protocol.h
@@ -66,9 +66,6 @@ extern void gb_uart_protocol_exit(void);
extern int gb_sdio_protocol_init(void);
extern void gb_sdio_protocol_exit(void);
-extern int gb_vibrator_protocol_init(void);
-extern void gb_vibrator_protocol_exit(void);
-
extern int gb_usb_protocol_init(void);
extern void gb_usb_protocol_exit(void);