Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65b841c3 authored by Jordan Crouse's avatar Jordan Crouse Committed by Zhen Kong
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent 0326bf0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;