summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel
diff options
context:
space:
mode:
authorMatthew Harm Bekkema <id@mbekkema.name>2019-09-09 00:22:27 +1000
committerGitHub <noreply@github.com>2019-09-09 00:22:27 +1000
commit2e94b9853c4d76dd8a2524ee79d72a0adce1a965 (patch)
tree65705bc3afebfefe9cc2fb91f204f50a18499f06 /pkgs/os-specific/linux/kernel
parent26b095829fddd673ab2c8d14c04dfb4c5b3a1125 (diff)
downloadnixpkgs-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.nix2
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