summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/ipwireless/main.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2008-07-28 16:53:16 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-28 17:28:03 +0200
commit09e491e9a780433f8734eb6efb7293b2da690131 (patch)
treec8d5d541fa3bf7468265962328c7b1f4c43b0427 /drivers/char/pcmcia/ipwireless/main.h
parentipwireless: Constify buffer variables (diff)
downloadlinux-09e491e9a780433f8734eb6efb7293b2da690131.tar.xz
linux-09e491e9a780433f8734eb6efb7293b2da690131.zip
ipwireless: Explicitly request io and mem regions
ipwireless: Explicitly request io and mem regions Documentation/pcmcia/driver-changes.txt says, that driver should call request_region for used memory/io regions since PCMCIA does not do this (since 2.6.8). Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pcmcia/ipwireless/main.h')
-rw-r--r--drivers/char/pcmcia/ipwireless/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/pcmcia/ipwireless/main.h b/drivers/char/pcmcia/ipwireless/main.h
index 1bfdcc8d47d6..0e0363af9ab2 100644
--- a/drivers/char/pcmcia/ipwireless/main.h
+++ b/drivers/char/pcmcia/ipwireless/main.h
@@ -45,10 +45,15 @@ struct ipw_tty;
struct ipw_dev {
struct pcmcia_device *link;
int is_v2_card;
+
window_handle_t handle_attr_memory;
void __iomem *attr_memory;
+ win_req_t request_attr_memory;
+
window_handle_t handle_common_memory;
void __iomem *common_memory;
+ win_req_t request_common_memory;
+
dev_node_t nodes[2];
/* Reference to attribute memory, containing CIS data */
void *attribute_memory;