diff options
author | Matthew Harm Bekkema <id@mbekkema.name> | 2019-09-09 00:22:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 00:22:27 +1000 |
commit | 2e94b9853c4d76dd8a2524ee79d72a0adce1a965 (patch) | |
tree | 65705bc3afebfefe9cc2fb91f204f50a18499f06 /pkgs/os-specific/linux/kernel | |
parent | 26b095829fddd673ab2c8d14c04dfb4c5b3a1125 (diff) | |
download | nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar.gz nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar.bz2 nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar.lz nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar.xz nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.tar.zst nixpkgs-2e94b9853c4d76dd8a2524ee79d72a0adce1a965.zip |
kernel: Enable X86_AMD_PLATFORM_DEVICE
This is needed to get the toupad working on my Acer Nitro laptop.
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 42230fe31ec..f2cb14fa182 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -698,6 +698,8 @@ let PREEMPT = no; PREEMPT_VOLUNTARY = yes; + + X86_AMD_PLATFORM_DEVICE = yes; } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") { # Enable CPU/memory hotplug support |