rk2928:
authorxbw <xbw@rock-chips.com>
Wed, 3 Jul 2013 05:15:33 +0000 (13:15 +0800)
committerxbw <xbw@rock-chips.com>
Wed, 3 Jul 2013 05:15:33 +0000 (13:15 +0800)
eliminate the build error using rk2928_tb_defconfig/rk2928_sdk_defconfig.
as the following:
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function rk29_sdmmc_gpio_open'
make: *** [.tmp_vmlinux1] Error 1

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

index dfb3251c431430b54fe8946760a3c7db131b9b16..3031a8ffd2131ba9f13b23aefd65c25f0282c9d6 100755 (executable)
@@ -933,7 +933,8 @@ 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)
+//static void rk29_sdmmc_gpio_open(int device_id, int on)
+void rk29_sdmmc_gpio_open(int device_id, int on)
 {
     switch(device_id)
     {