Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 363b8447 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_qc_rndis: Change function name from qcrndis to bam"

parents 4bd30ab6 58b8ab66
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1441,13 +1441,13 @@ bool rndis_qc_get_skip_ep_config(void)
	return rndis_ipa_params.skip_ep_cfg;
}

DECLARE_USB_FUNCTION_INIT(qcrndis, qcrndis_alloc_inst, qcrndis_alloc);
DECLARE_USB_FUNCTION_INIT(rndis_bam, qcrndis_alloc_inst, qcrndis_alloc);

static int __init usb_qcrndis_init(void)
{
	int ret;

	ret = usb_function_register(&qcrndisusb_func);
	ret = usb_function_register(&rndis_bamusb_func);
	if (ret) {
		pr_err("%s: failed to register diag %d\n", __func__, ret);
		return ret;
@@ -1457,7 +1457,7 @@ static int __init usb_qcrndis_init(void)

static void __exit usb_qcrndis_exit(void)
{
	usb_function_unregister(&qcrndisusb_func);
	usb_function_unregister(&rndis_bamusb_func);
	rndis_qc_cleanup();
}