rk2928_defconfig: add 'module_param(gs_type, int, 0644)'

This commit is contained in:
kfx
2012-12-01 15:16:01 +08:00
parent 304fbf061e
commit 9de7ff8684
2 changed files with 10 additions and 10 deletions

View File

@@ -158,7 +158,7 @@ static inline int check_lcd_param(void)
/* gsensor */
static int gs_type = DEF_GS_TYPE;
module_param(gs_type, int, 0644);
static int gs_i2c = DEF_GS_I2C;
module_param(gs_i2c, int, 0644);
static int gs_addr = DEF_GS_ADDR;

View File

@@ -2,12 +2,12 @@
#define __MACH_CONFIG_H
#include <mach/board.h>
#define RK2926_TB_DEFAULT_CONFIG
//#define RK2926_TB_DEFAULT_CONFIG
//#define RK2928_TB_DEFAULT_CONFIG
//#define RK2926_V86_DEFAULT_CONFIG
//#define RK2926_SDK_DEFAULT_CONFIG
//#define RK2928_SDK_DEFAULT_CONFIG
//#define RK2928_PHONEPAD_DEFAULT_CONFIG
#define RK2928_PHONEPAD_DEFAULT_CONFIG
/* camera id */
@@ -901,13 +901,13 @@ enum {
/* keyboard */
enum{
DEF_KEY_ADC = -1,
DEF_PLAY_KEY = -1,
DEF_VOLDN_KEY = -1,
DEF_VOLUP_KEY = 0,
DEF_MENU_KEY = 0,
DEF_ESC_KEY = 0,
DEF_HOME_KEY = 0,
DEF_CAM_KEY = 0,
DEF_PLAY_KEY = 0x80000000,
DEF_VOLDN_KEY = 0x80000000,
DEF_VOLUP_KEY = 0x80000000,
DEF_MENU_KEY = 0x80000000,
DEF_ESC_KEY = 0x80000000,
DEF_HOME_KEY = 0x80000000,
DEF_CAM_KEY = 0x80000000,
};
/* backlight */
enum{