diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-05-08 12:58:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-05-11 13:30:09 -0700 |
commit | 51e93aea65cdab93ae013b87a7e6b3a9eccef5ad (patch) | |
tree | cfdab236efb1f8e44d2438f96081ea9c7b5e7bc0 /drivers/staging/greybus/module.h | |
parent | 4f4cc1bf070e05d4ee54e569e7ec87168fa8e284 (diff) |
greybus: endo: Create modules after validating Endo ID
We already have code to parse Endo ID, lets use it to create modules at
run time instead of creating them from a static array.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/module.h')
-rw-r--r-- | drivers/staging/greybus/module.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h index c23ac98fc1ba..3b3f421b244f 100644 --- a/drivers/staging/greybus/module.h +++ b/drivers/staging/greybus/module.h @@ -23,6 +23,4 @@ struct gb_module *gb_module_find(struct greybus_host_device *hd, u8 module_id); struct gb_module *gb_module_create(struct device *parent, u8 module_id); void gb_module_remove_all(struct gb_endo *endo); -u8 get_module_id(u8 interface_id); - #endif /* __MODULE_H */ |