Commit 62b49c42 authored by Sukadev Bhattiprolu's avatar Sukadev Bhattiprolu Committed by Michael Ellerman

powerpc/vas: Export chip_to_vas_id()

Export the symbol chip_to_vas_id() to fix a build failure when
CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV=m.

Fixes: d4ef61b5 ("powerpc/vas, nx-842: Define and use chip_to_vas_id()")
Reported-by: default avatarHaren Myneni <hbabu@us.ibm.com>
Reported-by: default avatarJosh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: default avatarSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 7a06c668
...@@ -135,6 +135,7 @@ int chip_to_vas_id(int chipid) ...@@ -135,6 +135,7 @@ int chip_to_vas_id(int chipid)
} }
return -1; return -1;
} }
EXPORT_SYMBOL(chip_to_vas_id);
static int vas_probe(struct platform_device *pdev) static int vas_probe(struct platform_device *pdev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment