greybus: i2c-gb: split out into a stand-alone kernel module.
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 23 Dec 2014 23:16:54 +0000 (15:16 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 24 Dec 2014 05:04:02 +0000 (21:04 -0800)
commit900ceba9e480f49bb8fef688994b4fbdb1688b77
tree765e8d5d92acef10293ebaff98ae3360a4e595df
parentfb69cb506c16d38de2c3b62ea4cf6e8728bd4348
greybus: i2c-gb: split out into a stand-alone kernel module.

This splits the i2c-gb protocol into a stand-alone kernel module.

It's not going to stay in this fashion for long, this was done to test
the "can a protcol be loaded later" logic.  Future refactoring is going
to move the gpbridge protocols to a separate kernel module, where this
protocol is going to live.

But for now, split it out, it is good to test with, and shows a bug in
gbsim at the moment.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/i2c-gb.c
drivers/staging/greybus/protocol.c
drivers/staging/greybus/protocol.h