Add drivers to module and make start/stop optional (#580)
This commit is contained in:
committed by
GitHub
parent
08eac48e64
commit
429125734a
@@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
#include <tactility/crypt.h>
|
||||
#include <tactility/hash.h>
|
||||
#include <tactility/error.h>
|
||||
#include <tactility/module.h>
|
||||
|
||||
extern "C" {
|
||||
@@ -18,10 +17,7 @@ static const ModuleSymbol crypt_module_symbols[] = {
|
||||
|
||||
Module crypt_module = {
|
||||
.name = "crypt",
|
||||
.start = [] -> error_t { return ERROR_NONE; },
|
||||
.stop = [] -> error_t { return ERROR_NONE; },
|
||||
.symbols = crypt_module_symbols,
|
||||
.internal = nullptr
|
||||
.symbols = crypt_module_symbols
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user