Loading drivers/bus/mhi/core/mhi_init.c +2 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #include <linux/debugfs.h> #include <linux/device.h> Loading Loading @@ -946,6 +946,7 @@ int mhi_device_configure(struct mhi_device *mhi_dev, return 0; } EXPORT_SYMBOL(mhi_device_configure); static int of_parse_ev_cfg(struct mhi_controller *mhi_cntrl, struct device_node *of_node) Loading drivers/bus/mhi/devices/mhi_netdev.c +4 −4 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.*/ #include <linux/module.h> #include <linux/kernel.h> Loading Loading @@ -948,7 +948,7 @@ static void mhi_netdev_remove(struct mhi_device *mhi_dev) debugfs_remove_recursive(mhi_netdev->dentry); } static int mhi_netdev_match(struct device *dev, void *data) static int mhi_netdev_match(struct device *dev, const void *data) { /* if phandle dt == device dt, we found a match */ return (dev->of_node == data); Loading Loading @@ -1131,13 +1131,13 @@ static int __init mhi_netdev_init(void) } module_init(mhi_netdev_init); static int __exit mhi_netdev_exit(void) static void __exit mhi_netdev_exit(void) { debugfs_remove_recursive(dentry); mhi_driver_unregister(&mhi_netdev_driver); } module_init(mhi_netdev_exit); module_exit(mhi_netdev_exit); MODULE_DESCRIPTION("MHI NETDEV Network Interface"); MODULE_LICENSE("GPL v2"); drivers/bus/mhi/devices/mhi_satellite.c +2 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2019, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.*/ #include <linux/async.h> #include <linux/device.h> Loading Loading @@ -1201,6 +1201,7 @@ module_init(mhi_sat_init); static void __exit mhi_sat_exit(void) { struct mhi_sat_subsys *subsys; int i; unregister_rpmsg_driver(&mhi_sat_rpmsg_driver); Loading Loading
drivers/bus/mhi/core/mhi_init.c +2 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */ #include <linux/debugfs.h> #include <linux/device.h> Loading Loading @@ -946,6 +946,7 @@ int mhi_device_configure(struct mhi_device *mhi_dev, return 0; } EXPORT_SYMBOL(mhi_device_configure); static int of_parse_ev_cfg(struct mhi_controller *mhi_cntrl, struct device_node *of_node) Loading
drivers/bus/mhi/devices/mhi_netdev.c +4 −4 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.*/ #include <linux/module.h> #include <linux/kernel.h> Loading Loading @@ -948,7 +948,7 @@ static void mhi_netdev_remove(struct mhi_device *mhi_dev) debugfs_remove_recursive(mhi_netdev->dentry); } static int mhi_netdev_match(struct device *dev, void *data) static int mhi_netdev_match(struct device *dev, const void *data) { /* if phandle dt == device dt, we found a match */ return (dev->of_node == data); Loading Loading @@ -1131,13 +1131,13 @@ static int __init mhi_netdev_init(void) } module_init(mhi_netdev_init); static int __exit mhi_netdev_exit(void) static void __exit mhi_netdev_exit(void) { debugfs_remove_recursive(dentry); mhi_driver_unregister(&mhi_netdev_driver); } module_init(mhi_netdev_exit); module_exit(mhi_netdev_exit); MODULE_DESCRIPTION("MHI NETDEV Network Interface"); MODULE_LICENSE("GPL v2");
drivers/bus/mhi/devices/mhi_satellite.c +2 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2019, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.*/ #include <linux/async.h> #include <linux/device.h> Loading Loading @@ -1201,6 +1201,7 @@ module_init(mhi_sat_init); static void __exit mhi_sat_exit(void) { struct mhi_sat_subsys *subsys; int i; unregister_rpmsg_driver(&mhi_sat_rpmsg_driver); Loading