X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fnet%2Fwireless%2Frockchip_wlan%2Frtl8723cs%2Fplatform%2Fplatform_ops.h;fp=drivers%2Fnet%2Fwireless%2Frockchip_wlan%2Frtl8723cs%2Fplatform%2Fplatform_ops.h;h=b8314bb214114011ce5e20de28d8e73c436bfdea;hb=d7db16868d31f76d758503be042afa377fa00e28;hp=0000000000000000000000000000000000000000;hpb=57a85fb8ba5f5d00905108c5959a8f15e91418c6;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/net/wireless/rockchip_wlan/rtl8723cs/platform/platform_ops.h b/drivers/net/wireless/rockchip_wlan/rtl8723cs/platform/platform_ops.h new file mode 100644 index 000000000000..b8314bb21411 --- /dev/null +++ b/drivers/net/wireless/rockchip_wlan/rtl8723cs/platform/platform_ops.h @@ -0,0 +1,31 @@ +/****************************************************************************** + * + * Copyright(c) 2013 Realtek Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of version 2 of the GNU General Public License as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA + * + * + ******************************************************************************/ +#ifndef __PLATFORM_OPS_H__ +#define __PLATFORM_OPS_H__ + +/* + * Return: + * 0: power on successfully + * others: power on failed + */ +int platform_wifi_power_on(void); +void platform_wifi_power_off(void); + +#endif /* __PLATFORM_OPS_H__ */