]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/vas: Export chip_to_vas_id()
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Mon, 20 Nov 2017 18:53:15 +0000 (12:53 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Nov 2017 10:02:26 +0000 (21:02 +1100)
Export the symbol chip_to_vas_id() to fix a build failure when
CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV=m.

Fixes: d4ef61b5e895 ("powerpc/vas, nx-842: Define and use chip_to_vas_id()")
Reported-by: Haren Myneni <hbabu@us.ibm.com>
Reported-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/vas.c

index c488621dbec30f66db91ed8713212181820d7e25..aebbe95c9230bc4b85016a945303307aa96c369e 100644 (file)
@@ -135,6 +135,7 @@ int chip_to_vas_id(int chipid)
        }
        return -1;
 }
+EXPORT_SYMBOL(chip_to_vas_id);
 
 static int vas_probe(struct platform_device *pdev)
 {