diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-09 16:57:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-10 22:38:50 -0700 |
commit | aff9d262fbf02184f1b79b264f29e9ae0bc1b77b (patch) | |
tree | 4414426da1f0b550aae4d450e49e7cf3f7fff92b /drivers/atm/fore200e.h | |
parent | 0efe5523894a2677269d56ef5ae2f0f6747240fb (diff) |
fore200e: store a struct device in struct fore200e
This can be used much better than the untyped void pointer containing
either a PCI or platform device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/fore200e.h')
-rw-r--r-- | drivers/atm/fore200e.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/fore200e.h b/drivers/atm/fore200e.h index c8a02c8fba15..c8c6ea818ffc 100644 --- a/drivers/atm/fore200e.h +++ b/drivers/atm/fore200e.h @@ -844,7 +844,7 @@ typedef struct fore200e { enum fore200e_state state; /* device state */ char name[16]; /* device name */ - void* bus_dev; /* bus-specific kernel data */ + struct device *dev; int irq; /* irq number */ unsigned long phys_base; /* physical base address */ void __iomem * virt_base; /* virtual base address */ |