staging: gdm72xx: Set up parent link in sysfs for gdm72xx devices
authorPaul Stewart <pstew@chromium.org>
Thu, 17 May 2012 18:15:10 +0000 (11:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 May 2012 20:17:41 +0000 (13:17 -0700)
commit54bc1ff1daa86353ab07191b7fdde05e6b3844b1
treef042878f6105dbef138311629a87952b519aab08
parent3080b838158f1b17bd806c3fd7b9086ba3054a04
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>
drivers/staging/gdm72xx/gdm_sdio.c
drivers/staging/gdm72xx/gdm_usb.c
drivers/staging/gdm72xx/gdm_wimax.c
drivers/staging/gdm72xx/gdm_wimax.h