fix i2c0 CONFIG_GYRO_L3G4200D
author邱建斌 <qjb@rock-chips.com>
Fri, 30 Mar 2012 08:14:36 +0000 (16:14 +0800)
committer邱建斌 <qjb@rock-chips.com>
Fri, 30 Mar 2012 08:14:36 +0000 (16:14 +0800)
arch/arm/mach-rk30/board-rk30-sdk.c

index 6840637593ce621eaffcd9e49ab43cd877823760..5989c7e42e70a1e673c4c6cc62a8ca629243fd7e 100755 (executable)
@@ -974,7 +974,7 @@ static struct i2c_board_info __initdata i2c0_info[] = {
                .platform_data = &akm8975_info,
        },
 #endif
-#if defined (CONFIG_GYRO_L3G4200D1)
+#if defined (CONFIG_GYRO_L3G4200D)
        {
                .type          = "l3g4200d_gryo",
                .addr          = 0x69,