mwifiex: move pm_wakeup_card_complete definition to usb.c
authorXinming Hu <huxm@marvell.com>
Tue, 23 Dec 2014 13:44:08 +0000 (19:14 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Jan 2015 18:54:18 +0000 (20:54 +0200)
Move mwifiex_pm_wakeup_card_complete handler to source file.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/usb.c
drivers/net/wireless/mwifiex/usb.h

index 1b56495ec8724e55b8c1161b8f5ff900fee0040f..8ae7a8586811f0be9daf074112b2e6b7880e6b88 100644 (file)
@@ -1010,6 +1010,13 @@ static void mwifiex_usb_submit_rem_rx_urbs(struct mwifiex_adapter *adapter)
        }
 }
 
+/* This function is called after the card has woken up. */
+static inline int
+mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter)
+{
+       return 0;
+}
+
 static struct mwifiex_if_ops usb_ops = {
        .register_dev =         mwifiex_register_dev,
        .unregister_dev =       mwifiex_unregister_dev,
index a7cbba1355af7df25d9d3f899022884809aad3e6..0ad1bebc3f9316a5b196975d3e9ea995671b0354 100644 (file)
@@ -96,11 +96,4 @@ struct fw_data {
        u8 data[1];
 };
 
-/* This function is called after the card has woken up. */
-static inline int
-mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter)
-{
-       return 0;
-}
-
 #endif /*_MWIFIEX_USB_H */