Please update your board-xxx-sdmmc.c in your old project.
authorxbw <xbw@rock-chips.com>
Mon, 20 May 2013 04:15:40 +0000 (12:15 +0800)
committerxbw <xbw@rock-chips.com>
Mon, 20 May 2013 04:15:40 +0000 (12:15 +0800)
For exmaple board-rk30-sdk-sdmmc.c.

If you do not modify your files,you will encounter an error similar to the following.
      3066 4.2 develop-3.0的分支编译出错,报告
   drivers/built-in.o: In function rk29_sdmmc_set_ios
   bt_plat_smdk.c:(.text+0x16cfd8): undefined reference to rk29_sdmmc_gpio_open
   make: *** [.tmp_vmlinux1] 错误 1

arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c

index e99918c8e63574789b02ecb870949fdea2e5151d..f419cedb898add086239bdb7bb2f31653c101cd5 100755 (executable)
@@ -1035,7 +1035,7 @@ static struct rksdmmc_gpio_board rksdmmc1_gpio_init = {
 *************************************************************************/
 
 #if !defined(CONFIG_SDMMC_RK29_OLD)    
-static void rk29_sdmmc_gpio_open(int device_id, int on)
+void rk29_sdmmc_gpio_open(int device_id, int on)
 {
     switch(device_id)
     {