linux-next: build failure after final merge (net tree)

From: Stephen Rothwell
Date: Fri Feb 19 2010 - 01:37:29 EST


Hi Dave,

After merging the scsi-post-merge tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/net/greth.c: In function 'greth_of_probe':
drivers/net/greth.c:1414: error: implicit declaration of function 'of_ioremap'
drivers/net/greth.c:1414: error: 'struct of_device' has no member named 'resource'
drivers/net/greth.c:1415: error: 'struct of_device' has no member named 'resource'
drivers/net/greth.c:1426: error: 'struct of_device' has no member named 'irqs'
drivers/net/greth.c:1580: error: implicit declaration of function 'of_iounmap'
drivers/net/greth.c:1580: error: 'struct of_device' has no member named 'resource'
drivers/net/greth.c:1580: error: 'struct of_device' has no member named 'resource'
drivers/net/greth.c: In function 'greth_of_remove':
drivers/net/greth.c:1605: error: 'struct of_device' has no member named 'resource'
drivers/net/greth.c:1605: error: 'struct of_device' has no member named 'resource'

Caused by commit d4c41139df6e74c6fff0cbac43e51cab782133be ("net: Add
Aeroflex Gaisler 10/100/1G Ethernet MAC driver").

I assume that this driver was written and tested only on Sparc ... maybe
it should depend on SPARC?

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature