module-bbswitch rebuild
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
--- a/bbswitch.c
|
||||||
|
+++ b/bbswitch.c
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
#include <linux/pci.h>
|
||||||
|
#include <linux/acpi.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
-#include <asm/uaccess.h>
|
||||||
|
+#include <linux/uaccess.h>
|
||||||
|
#include <linux/suspend.h>
|
||||||
|
#include <linux/seq_file.h>
|
||||||
|
#include <linux/pm_runtime.h>
|
||||||
|
@@ -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
|
||||||
|
};
|
||||||
@@ -13,16 +13,17 @@
|
|||||||
<Summary>Kernel module allowing to switch dedicated graphics card on Optimus laptops</Summary>
|
<Summary>Kernel module allowing to switch dedicated graphics card on Optimus laptops</Summary>
|
||||||
<Description>kernel module allowing to switch dedicated graphics card on Optimus laptops</Description>
|
<Description>kernel module allowing to switch dedicated graphics card on Optimus laptops</Description>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency version="5.5.15">kernel-module-headers</Dependency>
|
<Dependency version="5.6.4">kernel-module-headers</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Archive sha1sum="e282ee682d794e3962baa4dead01917c42571e78" type="targz">https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz</Archive>
|
<Archive sha1sum="e282ee682d794e3962baa4dead01917c42571e78" type="targz">https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz</Archive>
|
||||||
<Patches>
|
<Patches>
|
||||||
|
<Patch level="1">kernel56.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>module-bbswitch</Name>
|
<Name>module-bbswitch</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency version="5.5.15">kernel</Dependency>
|
<Dependency version="5.6.4">kernel</Dependency>
|
||||||
<Dependency release="current">bbswitch-common</Dependency>
|
<Dependency release="current">bbswitch-common</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
@@ -60,6 +61,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="31">
|
||||||
|
<Date>2020-04-13</Date>
|
||||||
|
<Version>0.8</Version>
|
||||||
|
<Comment>Rebuild</Comment>
|
||||||
|
<Name>İdris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="30">
|
<Update release="30">
|
||||||
<Date>2020-04-03</Date>
|
<Date>2020-04-03</Date>
|
||||||
<Version>0.8</Version>
|
<Version>0.8</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user