diff --git a/internal/platform-support/tegra/tegra.go b/internal/platform-support/tegra/tegra.go index 6fb42674..37a8af72 100644 --- a/internal/platform-support/tegra/tegra.go +++ b/internal/platform-support/tegra/tegra.go @@ -119,9 +119,9 @@ func WithDriverRoot(driverRoot string) Option { // WithDevRoot sets the /dev root. // If this is unset, the driver root is assumed. -func WithDevRoot(driverRoot string) Option { +func WithDevRoot(devRoot string) Option { return func(o *tegraOptions) { - o.driverRoot = driverRoot + o.devRoot = devRoot } }