public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: Fix smc911x Ethernet driver warning
@ 2012-05-21 17:21 Joe Hershberger
  2012-05-21 18:11 ` Anatolij Gustschin
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Hershberger @ 2012-05-21 17:21 UTC (permalink / raw)
  To: u-boot

Fix this warning:
smc911x.c: In function 'smc911x_initialize':
smc911x.c:288:12: warning: assignment from incompatible pointer type [enabled by default]

Tested on omap3_overo

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
---
 drivers/net/smc911x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index e34b487..3911989 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -162,7 +162,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
 }
 
 static int smc911x_send(struct eth_device *dev,
-			volatile void *packet, int length)
+			void *packet, int length)
 {
 	u32 *data = (u32*)packet;
 	u32 tmplen;
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-21 20:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 17:21 [U-Boot] [PATCH] net: Fix smc911x Ethernet driver warning Joe Hershberger
2012-05-21 18:11 ` Anatolij Gustschin
2012-05-21 18:20   ` Joe Hershberger
2012-05-21 20:11     ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox