You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'rpmsg-v4.7' of git://github.com/andersson/remoteproc
Pull rpmsg updates from Bjorn Andersson: "Refactor rpmsg module registration to follow other subsystems; by introduction of module_rpmsg_driver and hiding of THIS_MODULE from clients" * tag 'rpmsg-v4.7' of git://github.com/andersson/remoteproc: rpmsg: use module_rpmsg_driver in existing drivers and examples rpmsg: add helper macro module_rpmsg_driver rpmsg: drop owner assignment from rpmsg_drivers rpmsg: add THIS_MODULE to rpmsg_driver in rpmsg core
This commit is contained in:
@@ -77,24 +77,12 @@ MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_sample_id_table);
|
||||
|
||||
static struct rpmsg_driver rpmsg_sample_client = {
|
||||
.drv.name = KBUILD_MODNAME,
|
||||
.drv.owner = THIS_MODULE,
|
||||
.id_table = rpmsg_driver_sample_id_table,
|
||||
.probe = rpmsg_sample_probe,
|
||||
.callback = rpmsg_sample_cb,
|
||||
.remove = rpmsg_sample_remove,
|
||||
};
|
||||
|
||||
static int __init rpmsg_client_sample_init(void)
|
||||
{
|
||||
return register_rpmsg_driver(&rpmsg_sample_client);
|
||||
}
|
||||
module_init(rpmsg_client_sample_init);
|
||||
|
||||
static void __exit rpmsg_client_sample_fini(void)
|
||||
{
|
||||
unregister_rpmsg_driver(&rpmsg_sample_client);
|
||||
}
|
||||
module_exit(rpmsg_client_sample_fini);
|
||||
module_rpmsg_driver(rpmsg_sample_client);
|
||||
|
||||
MODULE_DESCRIPTION("Remote processor messaging sample client driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
Reference in New Issue
Block a user