.........................................................................................................................................................................................................
 
Building modules, stage 2.
  MODPOST 7 modules
WARNING: "wl12xx_get_platform_data" [/home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko] undefined!
WARNING: "simple_open" [/home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/drivers/net/wireless/ti/wlcore/wlcore.ko] undefined!
WARNING: "simple_open" [/home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/drivers/net/wireless/ti/wl18xx/wl18xx.ko] undefined!
WARNING: "simple_open" [/home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/drivers/net/wireless/ti/wl12xx/wl12xx.ko] undefined!
  CC      /home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/compat/compat.mod.o
  LD [M]  /home/fine-work/linux_debug_pro/driver/fsl/flairmicro/compat_wl18xx/compat/compat.ko
...........................................................................................................................................................................................................
 
一.WARNING: "simple_open"
 
1. 把 compat-3.4.c compat-3.4.h 这两个文件放到wlcore 文件夹下面
 
2. 在wlcore文件夹下面。修改debugfs.h 在  #include "wlcore.h" 下面添加#include "compat-3.4.h"
 
3. 修改wlcore文件夹下面的makefile  在里面
 
wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
  boot.o init.o debugfs.o scan.o 
 
后面添加  compat-3.4.o 
 
 wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
  boot.o init.o debugfs.o scan.o  compat-3.4.o 
 
二:WARNING: "wl12xx_get_platform_data" 
 
定义 CONFIG_WL12XX_PLATFORM_DATA
 
 
 
 
05-11 15:54