drivers/net/pcnet.c: Fix compile warning
Fix this: pcnet.c: In function 'pcnet_initialize': pcnet.c:224:13: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
		
							parent
							
								
									7a10692a9c
								
							
						
					
					
						commit
						f92a151cd1
					
				|  | @ -141,8 +141,7 @@ static int pcnet_check (struct eth_device *dev) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static int pcnet_init (struct eth_device *dev, bd_t * bis); | static int pcnet_init (struct eth_device *dev, bd_t * bis); | ||||||
| static int pcnet_send (struct eth_device *dev, volatile void *packet, | static int pcnet_send(struct eth_device *dev, void *packet, int length); | ||||||
| 		       int length); |  | ||||||
| static int pcnet_recv (struct eth_device *dev); | static int pcnet_recv (struct eth_device *dev); | ||||||
| static void pcnet_halt (struct eth_device *dev); | static void pcnet_halt (struct eth_device *dev); | ||||||
| static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num); | static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num); | ||||||
|  | @ -415,8 +414,7 @@ static int pcnet_init (struct eth_device *dev, bd_t * bis) | ||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static int pcnet_send (struct eth_device *dev, volatile void *packet, | static int pcnet_send(struct eth_device *dev, void *packet, int pkt_len) | ||||||
| 		       int pkt_len) |  | ||||||
| { | { | ||||||
| 	int i, status; | 	int i, status; | ||||||
| 	struct pcnet_tx_head *entry = &lp->tx_ring[lp->cur_tx]; | 	struct pcnet_tx_head *entry = &lp->tx_ring[lp->cur_tx]; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue