mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qseeecom: Fix possible unused function
When building as a module, the __setup() macro is undefined and the compiler will warn about the now unused setup function. Mark it as __maybe_unused to avoid the compiler warning. Change-Id: Ic0dedbad341aae7d83169517d94af3b0ea038ac9 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Zhen Kong <zkong@codeaurora.org>
This commit is contained in:
parent
0326bf0e0f
commit
65b841c39b
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ static int qseecom_query_ce_info(struct qseecom_dev_handle *data,
|
|||
static int __qseecom_unload_app(struct qseecom_dev_handle *data,
|
||||
uint32_t app_id);
|
||||
|
||||
static int get_qseecom_keymaster_status(char *str)
|
||||
static int __maybe_unused get_qseecom_keymaster_status(char *str)
|
||||
{
|
||||
get_option(&str, &qseecom.is_apps_region_protected);
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue