diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-06-09 16:34:35 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-06-09 17:28:02 -0700 |
commit | aa62b5e49a596cad71a816fc36a4da6ad0c0cd0f (patch) | |
tree | 6316cf5e0a76346ad400566d1fd427ae0e638e7d /drivers/staging/greybus/core.c | |
parent | 9e50e987f55dc16364786525abdb4c7eac50e00b (diff) |
greybus: bootrom: Compile as a separate module
User space doesn't break anymore with new greybus modules and its time
to make bootrom a separate module.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/core.c')
-rw-r--r-- | drivers/staging/greybus/core.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index 5811299c96fa..75bc6081d21a 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -10,7 +10,6 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define CREATE_TRACE_POINTS -#include "bootrom.h" #include "greybus.h" #include "greybus_trace.h" @@ -271,12 +270,6 @@ static int __init gb_init(void) goto error_operation; } - retval = gb_bootrom_init(); - if (retval) { - pr_err("gb_bootrom_init failed\n"); - goto error_bootrom; - } - retval = gb_timesync_init(); if (retval) { pr_err("gb_timesync_init failed\n"); @@ -285,8 +278,6 @@ static int __init gb_init(void) return 0; /* Success */ error_timesync: - gb_bootrom_exit(); -error_bootrom: gb_operation_exit(); error_operation: gb_hd_exit(); @@ -302,7 +293,6 @@ module_init(gb_init); static void __exit gb_exit(void) { gb_timesync_exit(); - gb_bootrom_exit(); gb_operation_exit(); gb_hd_exit(); bus_unregister(&greybus_bus_type); |