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:
Jordan Crouse 2020-01-15 10:26:48 -07:00 • committed by Zhen Kong
commit 65b841c39b

View file

@ -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;