aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/hid.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-11-04 20:46:14 -0800
committerGreg Kroah-Hartman <gregkh@google.com>2015-11-05 18:00:29 -0800
commitc9e9de26f912bc0e5bca6a5168e7d5d427d2b2ee (patch)
tree96d206a3f42b6af0b5b42370116287b2052aca5f /drivers/staging/greybus/hid.c
parentgreybus: es2: clean up es2 destructor (diff)
downloadlinux-dev-c9e9de26f912bc0e5bca6a5168e7d5d427d2b2ee.tar.xz
linux-dev-c9e9de26f912bc0e5bca6a5168e7d5d427d2b2ee.zip
greybus: hid: hid should not be part of the bridged-phy driver.
HID is a stand-alone greybus protocol, not part of the bridged-phy protocols, so make it a stand-alone kernel module. Note, some hard-coded android init script might need to be changed to load the gb-hid.ko kernel module now. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/hid.c')
-rw-r--r--drivers/staging/greybus/hid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c
index 3ac9c1049f1d..2adcb1c47d2e 100644
--- a/drivers/staging/greybus/hid.c
+++ b/drivers/staging/greybus/hid.c
@@ -474,4 +474,6 @@ static struct gb_protocol hid_protocol = {
.request_recv = gb_hid_irq_handler,
};
-gb_builtin_protocol_driver(hid_protocol);
+gb_protocol_driver(&hid_protocol);
+
+MODULE_LICENSE("GPL v2");