diff options
author | Bastian Köcher <git@kchr.de> | 2018-04-05 23:35:18 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2018-04-16 04:26:02 +0300 |
commit | 438631e4013b074f83cc812d2fe8aa5dfcba473e (patch) | |
tree | cdc1aa093b70b32ad548b765c90412d07b3bf899 /pkgs/os-specific/linux/kernel/patches.nix | |
parent | 31effc1d7d53aad838c912aa700cebe127bbc8e4 (diff) | |
download | nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar.gz nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar.bz2 nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar.lz nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar.xz nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.tar.zst nixlib-438631e4013b074f83cc812d2fe8aa5dfcba473e.zip |
kernelPatches: Adds bcm2835_mmal_v4l2_camera_driver
The kernel patch is required for raspberry pi, to enable the camera module. [dezgeg: Add some comments indicating it's only needed for 4.16]
Diffstat (limited to 'pkgs/os-specific/linux/kernel/patches.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/patches.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index e163459d7f4f..cedb2dfc2230 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -73,4 +73,15 @@ rec { }; }; + # https://patchwork.kernel.org/patch/9626797/ + # Should be included in 4.17, so this patch can be dropped when 4.16 becomes obsolete. + bcm2835_mmal_v4l2_camera_driver = rec { + name = "bcm2835_mmal_v4l2_camera_driver"; + patch = fetchpatch { + name = name + ".patch"; + url = https://patchwork.kernel.org/patch/9626797/raw/; + sha256 = "0iwb0yxsf95zv4qxkvlvhqfmzx0rk13g9clvxsharvwkb4w5lwa0"; + }; + }; + } |