add .gitignore and make it buildable on current linux-next

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
This commit is contained in:
Icenowy Zheng 2017-02-25 18:31:16 +08:00
parent d019573693
commit 89c045ff47
10 changed files with 188 additions and 70 deletions

View file

@ -286,7 +286,7 @@
/*
* Debug Related Config
*/
#define CONFIG_DEBUG
//#define CONFIG_DEBUG
#ifdef CONFIG_DEBUG
#define DBG 1 /* for ODM & BTCOEX debug */

View file

@ -523,7 +523,7 @@ static inline u32 rtw_phydm_ability_get(_adapter *adapter)
#ifdef CONFIG_LOAD_PHY_PARA_FROM_FILE
extern char *rtw_phy_file_path;
extern char file_path[PATH_LENGTH_MAX];
extern char file__path[PATH_LENGTH_MAX];
#define GetLineFromBuffer(buffer) strsep(&buffer, "\r\n")
#endif

View file

@ -184,7 +184,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
#define _seqdump(sel, fmt, arg...) _dbgdump(fmt, ##arg)
#elif defined PLATFORM_LINUX
#define _dbgdump printk
#define _seqdump seq_printf
#define _seqdump(sel, fmt, arg...) _dbgdump(fmt, ##arg)
#elif defined PLATFORM_FREEBSD
#define _dbgdump printf
#define _seqdump(sel, fmt, arg...) _dbgdump(fmt, ##arg)