Commit 87b76279 authored by David S. Miller's avatar David S. Miller

drivers/net/sunlance.c: Make init_block_dvma a dma_addr_t

parent d03a7575
......@@ -258,7 +258,7 @@ struct lance_private {
void (*tx)(struct net_device *);
char *name;
__u32 init_block_dvma;
dma_addr_t init_block_dvma;
struct net_device *dev; /* Backpointer */
struct lance_private *next_module;
struct sbus_dev *sdev;
......@@ -320,7 +320,7 @@ static void lance_init_ring_dvma(struct net_device *dev)
{
struct lance_private *lp = (struct lance_private *) dev->priv;
volatile struct lance_init_block *ib = lp->init_block;
__u32 aib = lp->init_block_dvma;
dma_addr_t aib = lp->init_block_dvma;
__u32 leptr;
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment