aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r--drivers/pnp/base.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h
index a9ee0a9fec77..afbeee5b8af6 100644
--- a/drivers/pnp/base.h
+++ b/drivers/pnp/base.h
@@ -20,10 +20,10 @@ int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev);
20void pnp_remove_card_device(struct pnp_dev *dev); 20void pnp_remove_card_device(struct pnp_dev *dev);
21 21
22struct pnp_port { 22struct pnp_port {
23 unsigned short min; /* min base number */ 23 resource_size_t min; /* min base number */
24 unsigned short max; /* max base number */ 24 resource_size_t max; /* max base number */
25 unsigned char align; /* align boundary */ 25 resource_size_t align; /* align boundary */
26 unsigned char size; /* size of range */ 26 resource_size_t size; /* size of range */
27 unsigned char flags; /* port flags */ 27 unsigned char flags; /* port flags */
28 unsigned char pad; /* pad */ 28 unsigned char pad; /* pad */
29 struct pnp_port *next; /* next port */ 29 struct pnp_port *next; /* next port */
@@ -46,10 +46,10 @@ struct pnp_dma {
46}; 46};
47 47
48struct pnp_mem { 48struct pnp_mem {
49 unsigned int min; /* min base number */ 49 resource_size_t min; /* min base number */
50 unsigned int max; /* max base number */ 50 resource_size_t max; /* max base number */
51 unsigned int align; /* align boundary */ 51 resource_size_t align; /* align boundary */
52 unsigned int size; /* size of range */ 52 resource_size_t size; /* size of range */
53 unsigned char flags; /* memory flags */ 53 unsigned char flags; /* memory flags */
54 unsigned char pad; /* pad */ 54 unsigned char pad; /* pad */
55 struct pnp_mem *next; /* next memory resource */ 55 struct pnp_mem *next; /* next memory resource */