OSDN Git Service

ANDROID: ufshcd-crypto: fix export symbol type
authorGreg Kroah-Hartman <gregkh@google.com>
Thu, 30 Apr 2020 09:52:12 +0000 (11:52 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 30 Apr 2020 12:02:26 +0000 (14:02 +0200)
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 <bmuthuku@codeaurora.org>
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic0612118ce2ad837fd6ec95ea002a004c5ba4470

drivers/scsi/ufs/ufshcd-crypto.c

index d62ab7a..d698ecb 100644 (file)
@@ -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