diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-05-09 18:15:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-14 19:13:57 +0200 |
commit | 3d64730e119480062ffd2d94c49532fbf3dbb217 (patch) | |
tree | 85b8e4da6b2699ba89e1a11072ecdc3c39df8f08 /drivers/staging/greybus/sdio.c | |
parent | dca8060db87bd851d77a64ef70b822ce3a82b3b5 (diff) | |
download | op-kernel-dev-3d64730e119480062ffd2d94c49532fbf3dbb217.zip op-kernel-dev-3d64730e119480062ffd2d94c49532fbf3dbb217.tar.gz |
greybus: sdio: Create separate module
Create separate module for sdio gpbridge driver.
Tested on EVT 1.5 by inserting GP test module, all the devices were
enumerated correctly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 8ee4d4c..7f063b4 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -827,6 +827,7 @@ static const struct gpbridge_device_id gb_sdio_id_table[] = { { GPBRIDGE_PROTOCOL(GREYBUS_PROTOCOL_SDIO) }, { }, }; +MODULE_DEVICE_TABLE(gpbridge, gb_sdio_id_table); static struct gpbridge_driver sdio_driver = { .name = "sdio", @@ -834,4 +835,6 @@ static struct gpbridge_driver sdio_driver = { .remove = gb_sdio_remove, .id_table = gb_sdio_id_table, }; -gb_gpbridge_builtin_driver(sdio_driver); + +module_gpbridge_driver(sdio_driver); +MODULE_LICENSE("GPL v2"); |