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

Commit 0787fdf7 authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman
Browse files

Driver core: export platform_device_register_data as a GPL symbol



This allows MFD's to register/bind drivers for their sub devices while
still being compiled as a module.

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 99b28f1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -441,6 +441,7 @@ struct platform_device *platform_device_register_data(
	platform_device_put(pdev);
	return ERR_PTR(retval);
}
EXPORT_SYMBOL_GPL(platform_device_register_data);

static int platform_drv_probe(struct device *_dev)
{