1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-30 00:47:38 +00:00
rtl8812au/platform/platform_aml_s905_sdio.h

29 lines
1.0 KiB
C
Raw Normal View History

2018-07-03 14:50:43 +00:00
/******************************************************************************
*
2019-05-24 19:43:57 +00:00
* Copyright(c) 2016 - 2018 Realtek Corporation.
2018-07-03 14:50:43 +00:00
*
* 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.
*
2018-08-24 20:52:34 +00:00
*****************************************************************************/
2019-05-24 19:43:57 +00:00
#ifndef __PLATFORM_AML_S905_SDIO_H__
#define __PLATFORM_AML_S905_SDIO_H__
2018-07-03 14:50:43 +00:00
2019-05-24 19:43:57 +00:00
#include <linux/version.h> /* Linux vresion */
2018-08-24 20:52:34 +00:00
2019-05-24 19:43:57 +00:00
extern void sdio_reinit(void);
extern void extern_wifi_set_enable(int is_on);
2018-07-03 14:50:43 +00:00
2019-05-24 19:43:57 +00:00
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
extern void wifi_teardown_dt(void);
extern int wifi_setup_dt(void);
#endif /* kernel < 3.14.0 */
#endif /* __PLATFORM_AML_S905_SDIO_H__ */