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

Commit c3cfe13a authored by Maulik Shah's avatar Maulik Shah
Browse files

soc: qcom: rpm-smd: Suppress driver bind/unbind feature



RPM-SMD driver do not support bind/unbind using sysfs.
Set suppress bind attribute to disallow this.

Change-Id: Ib1eab4af4d40eeaa1deac87c3eff85ecf5649ee1
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 4d5de1ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -2138,6 +2138,7 @@ static struct platform_driver msm_rpm_device_driver = {
	.driver = {
	.driver = {
		.name = "rpm-smd",
		.name = "rpm-smd",
		.owner = THIS_MODULE,
		.owner = THIS_MODULE,
		.suppress_bind_attrs = true,
		.of_match_table = msm_rpm_match_table,
		.of_match_table = msm_rpm_match_table,
	},
	},
};
};