mirror of https://github.com/torvalds/linux.git
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:
parent
114e594e6c
commit
64309e40e3
|
|
@ -322,6 +322,7 @@ MODULE_DEVICE_TABLE(auxiliary, gpio_shared_proxy_id_table);
|
||||||
static struct auxiliary_driver gpio_shared_proxy_driver = {
|
static struct auxiliary_driver gpio_shared_proxy_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "gpio-shared-proxy",
|
.name = "gpio-shared-proxy",
|
||||||
|
.suppress_bind_attrs = true,
|
||||||
},
|
},
|
||||||
.probe = gpio_shared_proxy_probe,
|
.probe = gpio_shared_proxy_probe,
|
||||||
.id_table = gpio_shared_proxy_id_table,
|
.id_table = gpio_shared_proxy_id_table,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue