aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/fore200e.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-09 16:57:15 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-10 22:38:50 -0700
commitaff9d262fbf02184f1b79b264f29e9ae0bc1b77b (patch)
tree4414426da1f0b550aae4d450e49e7cf3f7fff92b /drivers/atm/fore200e.h
parentfore200e: simplify fore200e_bus usage (diff)
downloadlinux-dev-aff9d262fbf02184f1b79b264f29e9ae0bc1b77b.tar.xz
linux-dev-aff9d262fbf02184f1b79b264f29e9ae0bc1b77b.zip
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 '')
-rw-r--r--drivers/atm/fore200e.h2
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 */