ANDROID: GKI: gki_module: Include internal.h in order to pick-up exported prototypes

Fixes new -Wmissing-prototypes warnings (errors due to -Werror) like these:

  kernel/module/gki_module.c:35:6:
    error: no previous prototype for function 'gki_is_module_protected_export' [-Werror,-Wmissing-prototypes]
       35 | bool gki_is_module_protected_export(const char *name)
          |      ^
  kernel/module/gki_module.c:55:6:
    error: no previous prototype for function 'gki_is_module_unprotected_symbol' [-Werror,-Wmissing-prototypes]
     55 | bool gki_is_module_unprotected_symbol(const char *name)
        |      ^

Fixes: e9669eeb2f ("ANDROID: GKI: Add module load time symbol protection")
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I804f149e63db75650bb4bf1d9e77ce382eb36f70
This commit is contained in:
Lee Jones
2024-03-18 15:31:49 +00:00
parent 96dadf65ed
commit 2426ed640a
+2
View File
@@ -10,6 +10,8 @@
#include <linux/printk.h>
#include <linux/string.h>
#include "internal.h"
/*
* Build time generated header files
*