net: wireless: bcm4329: set reference to physical device
authorEric Brower <ebrower@nvidia.com>
Fri, 20 Jan 2012 00:44:25 +0000 (16:44 -0800)
committerLokesh Pathak <lpathak@nvidia.com>
Fri, 10 Feb 2012 16:35:28 +0000 (08:35 -0800)
commitc892abe5e61645f41dca11189a1b473f26e73c17
tree1ad8560a7e347e2ef99da2e1def3c9e0f21751c2
parenta4aa0557adc774bb364c3533986aef052dd58073
net: wireless: bcm4329: set reference to physical device

Set the parent field of the netdevice, which causes sysfs
to create a device subdirectory under the netdevice.  Without
this subdirectory the user-space NetworkManager cannot manage
the network device.

Implemented using void * to maintain current driver implementation
of segregated OS-specific implementation.

Bug 929960

Signed-off-by: Eric Brower <ebrower@nvidia.com>
Reviewed-on: http://git-master/r/77889
(cherry picked from commit 5055320be16c36557e1ab9966ff7537500ca6d4d)

Change-Id: Ia5ea298c32823f896428905a779a734140306861
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82720
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/net/wireless/bcm4329/bcmsdh_linux.c
drivers/net/wireless/bcm4329/dhd.h
drivers/net/wireless/bcm4329/dhd_linux.c
drivers/net/wireless/bcm4329/dhd_sdio.c
drivers/net/wireless/bcm4329/include/bcmsdh.h