From ba9a067a8980582e1086f4ae72c812a26a033221 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 30 Apr 2020 11:52:12 +0200 Subject: [PATCH] ANDROID: ufshcd-crypto: fix export symbol type In commit 4f6a1f4aff2b ("ANDROID: ufshcd-crypto: export cap find API") a new symbol was exported, but it should have been set as a _GPL symbol. Fix this up by properly changing the export type. Bug: 147209885 Cc: Barani Muthukumaran Cc: Eric Biggers Signed-off-by: Greg Kroah-Hartman Change-Id: Ic0612118ce2ad837fd6ec95ea002a004c5ba4470 --- drivers/scsi/ufs/ufshcd-crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-crypto.c b/drivers/scsi/ufs/ufshcd-crypto.c index d62ab7a9faff..d698ecbd5e4f 100644 --- a/drivers/scsi/ufs/ufshcd-crypto.c +++ b/drivers/scsi/ufs/ufshcd-crypto.c @@ -71,7 +71,7 @@ int ufshcd_crypto_cap_find(struct ufs_hba *hba, return -EINVAL; } -EXPORT_SYMBOL(ufshcd_crypto_cap_find); +EXPORT_SYMBOL_GPL(ufshcd_crypto_cap_find); /** * ufshcd_crypto_cfg_entry_write_key - Write a key into a crypto_cfg_entry