s390/zcrypt: export additional symbols
Export the two zcrypt device driver functions zcrypt_send_cprb and zcrypt_device_status_mask to be useable for other kernel code. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
a3358e3de3
commit
a1d001e26d
|
@ -374,7 +374,7 @@ out:
|
|||
return rc;
|
||||
}
|
||||
|
||||
static long zcrypt_send_cprb(struct ica_xcRB *xcRB)
|
||||
long zcrypt_send_cprb(struct ica_xcRB *xcRB)
|
||||
{
|
||||
struct zcrypt_card *zc, *pref_zc;
|
||||
struct zcrypt_queue *zq, *pref_zq;
|
||||
|
@ -444,6 +444,7 @@ out:
|
|||
AP_QID_CARD(qid), AP_QID_QUEUE(qid));
|
||||
return rc;
|
||||
}
|
||||
EXPORT_SYMBOL(zcrypt_send_cprb);
|
||||
|
||||
static bool is_desired_ep11_card(unsigned int dev_id,
|
||||
unsigned short target_num,
|
||||
|
@ -619,7 +620,7 @@ out:
|
|||
return rc;
|
||||
}
|
||||
|
||||
static void zcrypt_device_status_mask(struct zcrypt_device_matrix *matrix)
|
||||
void zcrypt_device_status_mask(struct zcrypt_device_matrix *matrix)
|
||||
{
|
||||
struct zcrypt_card *zc;
|
||||
struct zcrypt_queue *zq;
|
||||
|
|
|
@ -190,5 +190,7 @@ void zcrypt_msgtype_unregister(struct zcrypt_ops *);
|
|||
struct zcrypt_ops *zcrypt_msgtype(unsigned char *, int);
|
||||
int zcrypt_api_init(void);
|
||||
void zcrypt_api_exit(void);
|
||||
long zcrypt_send_cprb(struct ica_xcRB *xcRB);
|
||||
void zcrypt_device_status_mask(struct zcrypt_device_matrix *devstatus);
|
||||
|
||||
#endif /* _ZCRYPT_API_H_ */
|
||||
|
|
Loading…
Reference in New Issue