diff options
author | Xinming Hu <huxm@marvell.com> | 2014-12-23 08:44:08 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-06 13:54:18 -0500 |
commit | 617543033ed77a4d144555202b4d8e43fcd6ba1b (patch) | |
tree | 4bc60f97f18c2e0dead196ade3bf3ea9072e3551 | |
parent | cbf6e05527a7654ac1c4f4787dfd7a182fcc0c73 (diff) |
mwifiex: move pm_wakeup_card_complete definition to usb.c
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>
-rw-r--r-- | drivers/net/wireless/mwifiex/usb.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/usb.h | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/mwifiex/usb.c b/drivers/net/wireless/mwifiex/usb.c index 1b56495ec872..8ae7a8586811 100644 --- a/drivers/net/wireless/mwifiex/usb.c +++ b/drivers/net/wireless/mwifiex/usb.c | |||
@@ -1010,6 +1010,13 @@ static void mwifiex_usb_submit_rem_rx_urbs(struct mwifiex_adapter *adapter) | |||
1010 | } | 1010 | } |
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | /* This function is called after the card has woken up. */ | ||
1014 | static inline int | ||
1015 | mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter) | ||
1016 | { | ||
1017 | return 0; | ||
1018 | } | ||
1019 | |||
1013 | static struct mwifiex_if_ops usb_ops = { | 1020 | static struct mwifiex_if_ops usb_ops = { |
1014 | .register_dev = mwifiex_register_dev, | 1021 | .register_dev = mwifiex_register_dev, |
1015 | .unregister_dev = mwifiex_unregister_dev, | 1022 | .unregister_dev = mwifiex_unregister_dev, |
diff --git a/drivers/net/wireless/mwifiex/usb.h b/drivers/net/wireless/mwifiex/usb.h index a7cbba1355af..0ad1bebc3f93 100644 --- a/drivers/net/wireless/mwifiex/usb.h +++ b/drivers/net/wireless/mwifiex/usb.h | |||
@@ -96,11 +96,4 @@ struct fw_data { | |||
96 | u8 data[1]; | 96 | u8 data[1]; |
97 | }; | 97 | }; |
98 | 98 | ||
99 | /* This function is called after the card has woken up. */ | ||
100 | static inline int | ||
101 | mwifiex_pm_wakeup_card_complete(struct mwifiex_adapter *adapter) | ||
102 | { | ||
103 | return 0; | ||
104 | } | ||
105 | |||
106 | #endif /*_MWIFIEX_USB_H */ | 99 | #endif /*_MWIFIEX_USB_H */ |