summaryrefslogtreecommitdiffstats
path: root/drivers/net/greth.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/greth.h')
-rw-r--r--drivers/net/greth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/greth.h b/drivers/net/greth.h
index 973388d6abc..03ad903cd67 100644
--- a/drivers/net/greth.h
+++ b/drivers/net/greth.h
@@ -118,7 +118,7 @@ struct greth_private {
int irq;
- struct device *dev; /* Pointer to of_device->dev */
+ struct device *dev; /* Pointer to platform_device->dev */
struct net_device *netdev;
struct napi_struct napi;
spinlock_t devlock;