[PATCH] powerpc/vas, export chip_to_vas_id()
Sukadev Bhattiprolu
sukadev at linux.vnet.ibm.com
Tue Nov 21 06:12:48 AEDT 2017
>From 958f8db089f4b89407fc4b89bccd3eaef585aa96 Mon Sep 17 00:00:00 2001
From: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
Date: Mon, 20 Nov 2017 12:53:15 -0600
Subject: [PATCH 1/1] 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.
Reported-by: Haren Myneni <hbabu at us.ibm.com>
Reported-by: Josh Boyer <jwboyer at fedoraproject.org>
Signed-off-by: Sukadev Bhattiprolu <sukadev at linux.vnet.ibm.com>
---
This was broken by the patch https://lkml.org/lkml/2017/11/7/915.
---
arch/powerpc/platforms/powernv/vas.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/powernv/vas.c b/arch/powerpc/platforms/powernv/vas.c
index c488621..aebbe95 100644
--- a/arch/powerpc/platforms/powernv/vas.c
+++ b/arch/powerpc/platforms/powernv/vas.c
@@ -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)
{
--
2.7.4
More information about the Linuxppc-dev
mailing list