diff --git a/kernel/drivers/module-bbswitch/files/kernel56.patch b/kernel/drivers/module-bbswitch/files/kernel56.patch new file mode 100644 index 00000000..ab232105 --- /dev/null +++ b/kernel/drivers/module-bbswitch/files/kernel56.patch @@ -0,0 +1,28 @@ +--- a/bbswitch.c ++++ b/bbswitch.c +@@ -31,7 +31,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -375,12 +375,12 @@ static int bbswitch_pm_handler(struct notifier_block *nbp, + return 0; + } + +-static struct file_operations bbswitch_fops = { +- .open = bbswitch_proc_open, +- .read = seq_read, +- .write = bbswitch_proc_write, +- .llseek = seq_lseek, +- .release= single_release ++static struct proc_ops bbswitch_fops = { ++ .proc_open = bbswitch_proc_open, ++ .proc_read = seq_read, ++ .proc_write = bbswitch_proc_write, ++ .proc_lseek = seq_lseek, ++ .proc_release= single_release + }; diff --git a/kernel/drivers/module-bbswitch/pspec.xml b/kernel/drivers/module-bbswitch/pspec.xml index fcbcf352..a5fd4663 100644 --- a/kernel/drivers/module-bbswitch/pspec.xml +++ b/kernel/drivers/module-bbswitch/pspec.xml @@ -13,16 +13,17 @@ Kernel module allowing to switch dedicated graphics card on Optimus laptops kernel module allowing to switch dedicated graphics card on Optimus laptops - kernel-module-headers + kernel-module-headers https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz + kernel56.patch module-bbswitch - kernel + kernel bbswitch-common @@ -60,6 +61,13 @@ + + 2020-04-13 + 0.8 + Rebuild + İdris Kalp + idriskalp@gmail.com + 2020-04-03 0.8