Search
j0ke.net Open Build Service
>
Projects
>
NASlinux
>
thecus-io
> thecus-io.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File thecus-io.patch of Package thecus-io
--- ICH4_GPIO.c.orig 2010-04-17 22:18:28.000000000 +0200 +++ ICH4_GPIO.c 2013-03-03 19:55:15.062634121 +0100 @@ -37,6 +37,7 @@ #include <linux/poll.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> +#include <linux/sched.h> #include "ICH4_GPIO.h" @@ -227,7 +228,7 @@ static int module_die = 0; /* set this to 1 for shutdown */ static struct workqueue_struct *my_workqueue; static struct work_struct Task; -static DECLARE_WORK(Task, intrpt_routine, NULL); +static DECLARE_WORK(Task, intrpt_routine); static void intrpt_routine(void *irrelevant) @@ -890,7 +891,7 @@ * Find the PCI device */ - while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { + while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { if (pci_match_id(ich4_gpio_pci_tbl, dev)) { ich4_gpio_pci = dev; break;