mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
power: vexpress: add suppress_bind_attrs to true
commit 73174acc9c75960af2daa7dcbdb9781fc0d135cb upstream. Make sure that the POWER_RESET_VEXPRESS driver won't have bind/unbind attributes available via the sysfs, so lets be explicit here and use ".suppress_bind_attrs = true" to prevent userspace from doing something silly. Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Anders Roxell <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
7c71b9aa18
commit
0fd525d817
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ static struct platform_driver vexpress_reset_driver = {
|
|||
.driver = {
|
||||
.name = "vexpress-reset",
|
||||
.of_match_table = vexpress_reset_of_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue