mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
gpio: shared-proxy: set suppress_bind_attrs
User-space must not fiddle with shared-proxy auxiliary devices. Disable bind/unbind attributes in sysfs. Link: https://lore.kernel.org/r/20251126191730.66277-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
@@ -322,6 +322,7 @@ MODULE_DEVICE_TABLE(auxiliary, gpio_shared_proxy_id_table);
|
||||
static struct auxiliary_driver gpio_shared_proxy_driver = {
|
||||
.driver = {
|
||||
.name = "gpio-shared-proxy",
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = gpio_shared_proxy_probe,
|
||||
.id_table = gpio_shared_proxy_id_table,
|
||||
|
||||
Reference in New Issue
Block a user