net/sb1250: setup the pdevice within the soc code
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Tue, 27 Apr 2010 22:54:50 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 22:54:50 +0000 (15:54 -0700)
commit8cd9b13207f9a38e4da2d69bba51eb8dcbe1ead9
tree7c2f3c1d924de4be492410ea108721245400887e
parentfa12abd7d3fbaa9f86f97baeb445cb71189ae1d1
net/sb1250: setup the pdevice within the soc code

doing it within the driver does not look good.
And surely isn't how platform devices were meat to be used.

Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/sibyte/swarm/platform.c
drivers/net/sb1250-mac.c