Re: [PATCH RFC 1/2] s390/cio: export hsch to modules

From: Pierre Morel
Date: Fri May 11 2018 - 05:36:23 EST


On 09/05/2018 17:48, Cornelia Huck wrote:
The vfio-ccw code will need this, and it matches treatment of ssch
and csch.

Signed-off-by: Cornelia Huck <cohuck@xxxxxxxxxx>
---
drivers/s390/cio/ioasm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/s390/cio/ioasm.c b/drivers/s390/cio/ioasm.c
index 14d328338ce2..08eb10283b18 100644
--- a/drivers/s390/cio/ioasm.c
+++ b/drivers/s390/cio/ioasm.c
@@ -233,6 +233,7 @@ int hsch(struct subchannel_id schid)
return ccode;
}
+EXPORT_SYMBOL(hsch);
static inline int __xsch(struct subchannel_id schid)
{

hsch already defined in ioasm.h so, all OK

Reviewed-by: Pierre Morel<pmorel@xxxxxxxxxxxxxxxxxx>

--
Pierre Morel
Linux/KVM/QEMU in BÃblingen - Germany