summaryrefslogtreecommitdiff
path: root/drivers/staging/sep/sep_dev.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-14 14:41:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:02:15 (GMT)
commit4c29e9799878b6a5fc9ec37d40132c2380911e0f (patch)
tree8627008b311621ab6fafcbd1627b6c7840757ac7 /drivers/staging/sep/sep_dev.h
parent6f13ea3df5de2af5c50e15218553c2434e455be9 (diff)
downloadlinux-4c29e9799878b6a5fc9ec37d40132c2380911e0f.tar.xz
Staging: sep: Implement some proper open/close methods
Use the mutex as a protection for open close rather than leaving it hanging invalidly across userspace. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep/sep_dev.h')
-rw-r--r--drivers/staging/sep/sep_dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/sep/sep_dev.h b/drivers/staging/sep/sep_dev.h
index f0dc715..d4f0a69 100644
--- a/drivers/staging/sep/sep_dev.h
+++ b/drivers/staging/sep/sep_dev.h
@@ -32,6 +32,8 @@ struct sep_device {
/* pointer to pci dev */
struct pci_dev *pdev;
+ unsigned long in_use;
+
unsigned long io_bus;
unsigned long io_end_bus;
unsigned long io_memory_size;