diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2008-02-22 02:45:26 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-28 09:13:09 -0500 |
commit | 4b74850dc3fb8a0941dde0f1bf7686803d1250cd (patch) | |
tree | c7aa9bb8ded0d27f820eb47dafaa1f7a7861c6f6 /drivers | |
parent | 5b0acc64a3750f8f017b973f1059bb25b791c2a3 (diff) |
PS3: gelic: Link the wireless net_device structure to the corresponding device structure
Link the net_device structure of the wireless part to the
corresponding device structure.
Without this, the sysfs node for this net_device would not have
'device' link.
Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ps3_gelic_wireless.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c index 750d2a99cb4f..daf5abab9534 100644 --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ps3_gelic_wireless.c | |||
@@ -2690,6 +2690,7 @@ int gelic_wl_driver_probe(struct gelic_card *card) | |||
2690 | return -ENOMEM; | 2690 | return -ENOMEM; |
2691 | 2691 | ||
2692 | /* setup net_device structure */ | 2692 | /* setup net_device structure */ |
2693 | SET_NETDEV_DEV(netdev, &card->dev->core); | ||
2693 | gelic_wl_setup_netdev_ops(netdev); | 2694 | gelic_wl_setup_netdev_ops(netdev); |
2694 | 2695 | ||
2695 | /* setup some of net_device and register it */ | 2696 | /* setup some of net_device and register it */ |