Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 490a2de5 authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

floss: Fix missing GD_CONTROLLER_MODULE

CONTROLLER_MODULE was removed in CL:1822753 and GD_CONTROLLER_MODULE
should be used instead, but it's not in the module_table. This adds
gd_controller_module to the module_table.

Bug: 203604973
Tag: #floss
Test: Manual - Build floss on Linux

Change-Id: I98e7c9316f605acd8f7c5d97a648be60b989d4f8
parent dc92f4d9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ extern const module_t bte_logmsg_module;
extern const module_t btif_config_module;
extern const module_t btsnoop_module;
extern const module_t bt_utils_module;
extern const module_t controller_module;
extern const module_t gd_controller_module;
extern const module_t gd_idle_module;
extern const module_t gd_shim_module;
extern const module_t hci_module;
@@ -183,6 +183,7 @@ const struct module_lookup module_table[] = {
    {BTIF_CONFIG_MODULE, &btif_config_module},
    {BTSNOOP_MODULE, &btsnoop_module},
    {BT_UTILS_MODULE, &bt_utils_module},
    {GD_CONTROLLER_MODULE, &gd_controller_module},
    {GD_IDLE_MODULE, &gd_idle_module},
    {GD_SHIM_MODULE, &gd_shim_module},
    {INTEROP_MODULE, &interop_module},
@@ -200,7 +201,7 @@ inline const module_t* get_local_module(const char* name) {
    }
  }

  abort();
  LOG_ALWAYS_FATAL("Cannot find module %s, aborting", name);
  return nullptr;
}
#else