public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel 2.6.37-git10 build failure: cassini.c
@ 2011-01-14  8:09 Anca Emanuel
  2011-01-14 16:02 ` Anca Emanuel
  2011-01-14 20:41 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Anca Emanuel @ 2011-01-14  8:09 UTC (permalink / raw)
  To: LKML
  Cc: netdev, Grant Likely, David S. Miller, Eric Dumazet, Joe Perches,
	Christoph Egger, Jiri Pirko

drivers/net/cassini.c: In function ‘cas_get_vpd_info’:
drivers/net/cassini.c:3358: error: implicit declaration of function
‘of_get_property’
drivers/net/cassini.c:3358: warning: assignment makes pointer from
integer without a cast
drivers/net/cassini.c: In function ‘cas_init_one’:
drivers/net/cassini.c:5035: error: implicit declaration of function
‘pci_device_to_OF_node’
drivers/net/cassini.c:5035: warning: assignment makes pointer from
integer without a cast
make[3]: *** [drivers/net/cassini.o] Error 1
make[2]: *** [drivers/net] Error 2


The first part can be solved with:

diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c
index 7206ab2..fe3795e 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/cassini.c
@@ -94,6 +94,7 @@
 #include <linux/tcp.h>
 #include <linux/mutex.h>
 #include <linux/firmware.h>
+#include <linux/of.h>

 #include <net/checksum.h>

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

end of thread, other threads:[~2011-01-14 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14  8:09 Kernel 2.6.37-git10 build failure: cassini.c Anca Emanuel
2011-01-14 16:02 ` Anca Emanuel
2011-01-14 20:41 ` David Miller
2011-01-14 21:01   ` Grant Likely

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