summaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-29 01:36:44 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:54:48 -0700
commit457e1a8afbcf5deffa501f2e9829526c18ed55b5 (patch)
treef1ed037f0fdbe3ab34a848d63e7c78bb28a9a4bc /drivers/net/sungem.h
parentdadb830dac401c4b1420ee2fd6c7559871b43319 (diff)
downloadop-kernel-dev-457e1a8afbcf5deffa501f2e9829526c18ed55b5.zip
op-kernel-dev-457e1a8afbcf5deffa501f2e9829526c18ed55b5.tar.gz
[SUNGEM]: Consolidate powerpc and sparc MAC probing code.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem.h')
-rw-r--r--drivers/net/sungem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.h b/drivers/net/sungem.h
index a70067c..58cf87c 100644
--- a/drivers/net/sungem.h
+++ b/drivers/net/sungem.h
@@ -1025,7 +1025,7 @@ struct gem {
struct pci_dev *pdev;
struct net_device *dev;
-#ifdef CONFIG_PPC_PMAC
+#if defined(CONFIG_PPC_PMAC) || defined(CONFIG_SPARC)
struct device_node *of_node;
#endif
};
OpenPOWER on IntegriCloud