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.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h
index b888a5fb6b7f..1d6bb351d323 100644
--- a/drivers/pnp/base.h
+++ b/drivers/pnp/base.h
@@ -26,9 +26,13 @@ void pnp_init_resource(struct resource *res);
26#define PNP_MAX_IRQ 2 26#define PNP_MAX_IRQ 2
27#define PNP_MAX_DMA 2 27#define PNP_MAX_DMA 2
28 28
29struct pnp_resource {
30 struct resource res;
31};
32
29struct pnp_resource_table { 33struct pnp_resource_table {
30 struct resource port_resource[PNP_MAX_PORT]; 34 struct pnp_resource port[PNP_MAX_PORT];
31 struct resource mem_resource[PNP_MAX_MEM]; 35 struct pnp_resource mem[PNP_MAX_MEM];
32 struct resource dma_resource[PNP_MAX_DMA]; 36 struct pnp_resource dma[PNP_MAX_DMA];
33 struct resource irq_resource[PNP_MAX_IRQ]; 37 struct pnp_resource irq[PNP_MAX_IRQ];
34}; 38};