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

Commit 9da0fee2 authored by Albert I's avatar Albert I Committed by Bharath
Browse files

qcom: Resolve section mismatches due to `EXPORT_SYMBOL()` on `__exit`

This does exactly the same as commit e8688a9bc455, but on functions marked as
__exit as it carries exact same warning disclaimer.

This is intentionally kept separate, period.

Link: https://www.kernel.org/doc/html/latest/kernel-hacking/hacking.html?highlight=export_symbol


Change-Id: I02daddf46396daa140f53c04671fada34b9606a9
Signed-off-by: default avatarAlbert I <kras@raphielgang.org>
(cherry picked from commit 1b89df6111f42f75c0fcb0cfa655ed4f3f12de44)
parent 31043fde
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -691,13 +691,12 @@ int mhi_dev_net_interface_init(void)
}
EXPORT_SYMBOL(mhi_dev_net_interface_init);

void __exit mhi_dev_net_exit(void)
static void __exit mhi_dev_net_exit(void)
{
	mhi_dev_net_log(MHI_INFO,
			"MHI Network Interface Module exited ");
	mhi_dev_net_close();
}
EXPORT_SYMBOL(mhi_dev_net_exit);

static int mhi_dev_net_probe(struct platform_device *pdev)
{