Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4cfb7b7c
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4cfb7b7c
编写于
1月 21, 2012
作者:
K
Kukjin Kim
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARM: S3C24XX: use static declaration when it is not used in other files
Signed-off-by:
N
Kukjin Kim
<
kgene.kim@samsung.com
>
上级
e745e06f
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
19 addition
and
25 deletion
+19
-25
arch/arm/mach-s3c2410/mach-h1940.c
arch/arm/mach-s3c2410/mach-h1940.c
+6
-6
arch/arm/mach-s3c2416/clock.c
arch/arm/mach-s3c2416/clock.c
+0
-6
arch/arm/mach-s3c2416/mach-smdk2416.c
arch/arm/mach-s3c2416/mach-smdk2416.c
+4
-4
arch/arm/mach-s3c2440/mach-gta02.c
arch/arm/mach-s3c2440/mach-gta02.c
+2
-2
arch/arm/mach-s3c2440/mach-rx1950.c
arch/arm/mach-s3c2440/mach-rx1950.c
+6
-6
arch/arm/plat-s3c24xx/s3c2443-clock.c
arch/arm/plat-s3c24xx/s3c2443-clock.c
+1
-1
未找到文件。
arch/arm/mach-s3c2410/mach-h1940.c
浏览文件 @
4cfb7b7c
...
...
@@ -162,7 +162,7 @@ static int h1940_gpiolib_latch_get(struct gpio_chip *chip,
return
(
latch_state
>>
(
offset
+
16
))
&
1
;
}
struct
gpio_chip
h1940_latch_gpiochip
=
{
st
atic
st
ruct
gpio_chip
h1940_latch_gpiochip
=
{
.
base
=
H1940_LATCH_GPIO
(
0
),
.
owner
=
THIS_MODULE
,
.
label
=
"H1940_LATCH"
,
...
...
@@ -304,7 +304,7 @@ static const struct s3c_adc_bat_thresh bat_lut_acin[] = {
{
.
volt
=
3841
,
.
cur
=
0
,
.
level
=
0
},
};
int
h1940_bat_init
(
void
)
static
int
h1940_bat_init
(
void
)
{
int
ret
;
...
...
@@ -317,17 +317,17 @@ int h1940_bat_init(void)
}
void
h1940_bat_exit
(
void
)
static
void
h1940_bat_exit
(
void
)
{
gpio_free
(
H1940_LATCH_SM803_ENABLE
);
}
void
h1940_enable_charger
(
void
)
static
void
h1940_enable_charger
(
void
)
{
gpio_set_value
(
H1940_LATCH_SM803_ENABLE
,
1
);
}
void
h1940_disable_charger
(
void
)
static
void
h1940_disable_charger
(
void
)
{
gpio_set_value
(
H1940_LATCH_SM803_ENABLE
,
0
);
}
...
...
@@ -364,7 +364,7 @@ static struct platform_device h1940_battery = {
},
};
DEFINE_SPINLOCK
(
h1940_blink_spin
);
static
DEFINE_SPINLOCK
(
h1940_blink_spin
);
int
h1940_led_blink_set
(
unsigned
gpio
,
int
state
,
unsigned
long
*
delay_on
,
unsigned
long
*
delay_off
)
...
...
arch/arm/mach-s3c2416/clock.c
浏览文件 @
4cfb7b7c
...
...
@@ -132,12 +132,6 @@ static struct clk hsmmc0_clk = {
.
ctrlbit
=
S3C2416_HCLKCON_HSMMC0
,
};
void
__init_or_cpufreq
s3c2416_setup_clocks
(
void
)
{
s3c2443_common_setup_clocks
(
s3c2416_get_pll
);
}
static
struct
clksrc_clk
*
clksrcs
[]
__initdata
=
{
&
hsspi_eplldiv
,
&
hsspi_mux
,
...
...
arch/arm/mach-s3c2416/mach-smdk2416.c
浏览文件 @
4cfb7b7c
...
...
@@ -125,7 +125,7 @@ static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = {
}
};
void
smdk2416_hsudc_gpio_init
(
void
)
static
void
smdk2416_hsudc_gpio_init
(
void
)
{
s3c_gpio_setpull
(
S3C2410_GPH
(
14
),
S3C_GPIO_PULL_UP
);
s3c_gpio_setpull
(
S3C2410_GPF
(
2
),
S3C_GPIO_PULL_NONE
);
...
...
@@ -133,20 +133,20 @@ void smdk2416_hsudc_gpio_init(void)
s3c2410_modify_misccr
(
S3C2416_MISCCR_SEL_SUSPND
,
0
);
}
void
smdk2416_hsudc_gpio_uninit
(
void
)
static
void
smdk2416_hsudc_gpio_uninit
(
void
)
{
s3c2410_modify_misccr
(
S3C2416_MISCCR_SEL_SUSPND
,
1
);
s3c_gpio_setpull
(
S3C2410_GPH
(
14
),
S3C_GPIO_PULL_NONE
);
s3c_gpio_cfgpin
(
S3C2410_GPH
(
14
),
S3C_GPIO_SFN
(
0
));
}
struct
s3c24xx_hsudc_platdata
smdk2416_hsudc_platdata
=
{
st
atic
st
ruct
s3c24xx_hsudc_platdata
smdk2416_hsudc_platdata
=
{
.
epnum
=
9
,
.
gpio_init
=
smdk2416_hsudc_gpio_init
,
.
gpio_uninit
=
smdk2416_hsudc_gpio_uninit
,
};
struct
s3c_fb_pd_win
smdk2416_fb_win
[]
=
{
st
atic
st
ruct
s3c_fb_pd_win
smdk2416_fb_win
[]
=
{
[
0
]
=
{
/* think this is the same as the smdk6410 */
.
win_mode
=
{
...
...
arch/arm/mach-s3c2440/mach-gta02.c
浏览文件 @
4cfb7b7c
...
...
@@ -258,7 +258,7 @@ static struct pcf50633_bl_platform_data gta02_backlight_data = {
.
ramp_time
=
5
,
};
struct
pcf50633_platform_data
gta02_pcf_pdata
=
{
st
atic
st
ruct
pcf50633_platform_data
gta02_pcf_pdata
=
{
.
resumers
=
{
[
0
]
=
PCF50633_INT1_USBINS
|
PCF50633_INT1_USBREM
|
...
...
@@ -404,7 +404,7 @@ static struct platform_device gta02_nor_flash = {
};
struct
platform_device
s3c24xx_pwm_device
=
{
st
atic
st
ruct
platform_device
s3c24xx_pwm_device
=
{
.
name
=
"s3c24xx_pwm"
,
.
num_resources
=
0
,
};
...
...
arch/arm/mach-s3c2440/mach-rx1950.c
浏览文件 @
4cfb7b7c
...
...
@@ -217,7 +217,7 @@ static const struct s3c_adc_bat_thresh bat_lut_acin[] = {
{
.
volt
=
3820
,
.
cur
=
0
,
.
level
=
0
},
};
int
rx1950_bat_init
(
void
)
static
int
rx1950_bat_init
(
void
)
{
int
ret
;
...
...
@@ -236,25 +236,25 @@ int rx1950_bat_init(void)
return
ret
;
}
void
rx1950_bat_exit
(
void
)
static
void
rx1950_bat_exit
(
void
)
{
gpio_free
(
S3C2410_GPJ
(
2
));
gpio_free
(
S3C2410_GPJ
(
3
));
}
void
rx1950_enable_charger
(
void
)
static
void
rx1950_enable_charger
(
void
)
{
gpio_direction_output
(
S3C2410_GPJ
(
2
),
1
);
gpio_direction_output
(
S3C2410_GPJ
(
3
),
1
);
}
void
rx1950_disable_charger
(
void
)
static
void
rx1950_disable_charger
(
void
)
{
gpio_direction_output
(
S3C2410_GPJ
(
2
),
0
);
gpio_direction_output
(
S3C2410_GPJ
(
3
),
0
);
}
DEFINE_SPINLOCK
(
rx1950_blink_spin
);
static
DEFINE_SPINLOCK
(
rx1950_blink_spin
);
static
int
rx1950_led_blink_set
(
unsigned
gpio
,
int
state
,
unsigned
long
*
delay_on
,
unsigned
long
*
delay_off
)
...
...
@@ -382,7 +382,7 @@ static struct s3c2410fb_mach_info rx1950_lcd_cfg = {
static
struct
pwm_device
*
lcd_pwm
;
void
rx1950_lcd_power
(
int
enable
)
static
void
rx1950_lcd_power
(
int
enable
)
{
int
i
;
static
int
enabled
;
...
...
arch/arm/plat-s3c24xx/s3c2443-clock.c
浏览文件 @
4cfb7b7c
...
...
@@ -53,7 +53,7 @@ int s3c2443_clkcon_enable_s(struct clk *clk, int enable)
* elided as the EPLL can be either sourced by the XTAL or EXTCLK and as
* such directly equating the two source clocks is impossible.
*/
struct
clk
clk_mpllref
=
{
st
atic
st
ruct
clk
clk_mpllref
=
{
.
name
=
"mpllref"
,
.
parent
=
&
clk_xtal
,
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录