diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2020-05-27 13:26:04 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-05-28 12:30:47 +0200 |
commit | 73174acc9c75960af2daa7dcbdb9781fc0d135cb (patch) | |
tree | 62049dc76c7b3c7926a01b19caf661561642fc9c /drivers | |
parent | 56f292ad66321ec2b06fbbe8a4ac5d520257fb41 (diff) |
power: vexpress: add suppress_bind_attrs to true
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/20200527112608.3886105-2-anders.roxell@linaro.org
Cc: stable@vger.kernel.org
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/reset/vexpress-poweroff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/power/reset/vexpress-poweroff.c index 90cbaa8341e3..0bf9ab8653ae 100644 --- a/drivers/power/reset/vexpress-poweroff.c +++ b/drivers/power/reset/vexpress-poweroff.c @@ -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, }, }; |