diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-08-10 13:32:22 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-11 00:33:27 -0400 |
commit | 6af7b2288ff003550f40716a5c3ec24d1637f8be (patch) | |
tree | b3ecbbd52ad8f6828cf3c90c7ca19ebae324f704 | |
parent | 54805a18d6a6093db7da2d4d4a5d5a58012b7144 (diff) |
gpu: nvgpu: module.c should #include its own hdr
userspace/src/module.c should #include its own <unit/module.h> to get
declarations for the functions defined.
Change-Id: Icff647f19468607ebfb757360b83ce9f133bd5ec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1797034
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Long <scottl@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | userspace/src/module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userspace/src/module.c b/userspace/src/module.c index 779c52d3..e8e08a18 100644 --- a/userspace/src/module.c +++ b/userspace/src/module.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <unit/io.h> | 32 | #include <unit/io.h> |
33 | #include <unit/args.h> | 33 | #include <unit/args.h> |
34 | #include <unit/unit.h> | 34 | #include <unit/unit.h> |
35 | #include <unit/module.h> | ||
35 | 36 | ||
36 | static int check_module(struct unit_fw *fw, struct unit_module *mod) | 37 | static int check_module(struct unit_fw *fw, struct unit_module *mod) |
37 | { | 38 | { |