diff options
author | Paul Stewart <pstew@chromium.org> | 2012-05-17 22:15:10 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-18 00:17:41 +0400 |
commit | 54bc1ff1daa86353ab07191b7fdde05e6b3844b1 (patch) | |
tree | f042878f6105dbef138311629a87952b519aab08 /drivers/staging/gdm72xx/gdm_sdio.c | |
parent | 3080b838158f1b17bd806c3fd7b9086ba3054a04 (diff) | |
download | linux-54bc1ff1daa86353ab07191b7fdde05e6b3844b1.tar.xz |
staging: gdm72xx: Set up parent link in sysfs for gdm72xx devices
This patch uses SET_NETDEV_DEV to set up a 'device' parent link in sysfs
(e.g. /sys/class/net/wm0/device) for a gdm72xx device.
Signed-off-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Ben Chan <benchan@chromium.org>
Cc: Sage Ahn <syahn@gctsemi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm72xx/gdm_sdio.c')
-rw-r--r-- | drivers/staging/gdm72xx/gdm_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gdm72xx/gdm_sdio.c b/drivers/staging/gdm72xx/gdm_sdio.c index 1ef466e718ae..e1a3dd2fc4af 100644 --- a/drivers/staging/gdm72xx/gdm_sdio.c +++ b/drivers/staging/gdm72xx/gdm_sdio.c @@ -618,7 +618,7 @@ end_io: done: sdio_writeb(func, 0x00, 0x10, &ret); /* PCRRT */ if (!phy_dev->netdev) - register_wimax_device(phy_dev); + register_wimax_device(phy_dev, &func->dev); } static int gdm_sdio_receive(void *priv_dev, |