aboutsummaryrefslogtreecommitdiff
path: root/drivers/sdio/function/wlan/ar6000/hif/hif.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sdio/function/wlan/ar6000/hif/hif.c')
-rw-r--r--drivers/sdio/function/wlan/ar6000/hif/hif.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sdio/function/wlan/ar6000/hif/hif.c b/drivers/sdio/function/wlan/ar6000/hif/hif.c
index f5a098672a1..3d6d792d974 100644
--- a/drivers/sdio/function/wlan/ar6000/hif/hif.c
+++ b/drivers/sdio/function/wlan/ar6000/hif/hif.c
@@ -779,6 +779,12 @@ delHifDevice(SDDEVICE *handle)
hifDevice[0].handle = NULL;
}
+struct device*
+HIFGetOSDevice(HIF_DEVICE *device)
+{
+ return &device->handle->Device.dev;
+}
+
static void ResetAllCards(void)
{
UINT8 data;