Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
7c8ad982
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7c8ad982
编写于
9月 05, 2008
作者:
R
Russell King
提交者:
Russell King
9月 05, 2008
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it be static?"
Signed-off-by:
N
Russell King
<
rmk+kernel@arm.linux.org.uk
>
上级
c0fc18c5
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
16 addition
and
9 deletion
+16
-9
drivers/input/keyboard/omap-keypad.c
drivers/input/keyboard/omap-keypad.c
+1
-1
drivers/mmc/host/omap.c
drivers/mmc/host/omap.c
+2
-2
drivers/video/omap/dispc.h
drivers/video/omap/dispc.h
+2
-0
drivers/video/omap/lcd_h4.c
drivers/video/omap/lcd_h4.c
+2
-2
drivers/video/omap/lcdc.c
drivers/video/omap/lcdc.c
+2
-0
drivers/video/omap/lcdc.h
drivers/video/omap/lcdc.h
+2
-0
drivers/video/omap/omapfb_main.c
drivers/video/omap/omapfb_main.c
+5
-4
未找到文件。
drivers/input/keyboard/omap-keypad.c
浏览文件 @
7c8ad982
...
@@ -62,7 +62,7 @@ struct omap_kp {
...
@@ -62,7 +62,7 @@ struct omap_kp {
unsigned
int
debounce
;
unsigned
int
debounce
;
};
};
DECLARE_TASKLET_DISABLED
(
kp_tasklet
,
omap_kp_tasklet
,
0
);
static
DECLARE_TASKLET_DISABLED
(
kp_tasklet
,
omap_kp_tasklet
,
0
);
static
int
*
keymap
;
static
int
*
keymap
;
static
unsigned
int
*
row_gpios
;
static
unsigned
int
*
row_gpios
;
...
...
drivers/mmc/host/omap.c
浏览文件 @
7c8ad982
...
@@ -172,7 +172,7 @@ struct mmc_omap_host {
...
@@ -172,7 +172,7 @@ struct mmc_omap_host {
struct
omap_mmc_platform_data
*
pdata
;
struct
omap_mmc_platform_data
*
pdata
;
};
};
void
mmc_omap_fclk_offdelay
(
struct
mmc_omap_slot
*
slot
)
static
void
mmc_omap_fclk_offdelay
(
struct
mmc_omap_slot
*
slot
)
{
{
unsigned
long
tick_ns
;
unsigned
long
tick_ns
;
...
@@ -182,7 +182,7 @@ void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
...
@@ -182,7 +182,7 @@ void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
}
}
}
}
void
mmc_omap_fclk_enable
(
struct
mmc_omap_host
*
host
,
unsigned
int
enable
)
static
void
mmc_omap_fclk_enable
(
struct
mmc_omap_host
*
host
,
unsigned
int
enable
)
{
{
unsigned
long
flags
;
unsigned
long
flags
;
...
...
drivers/video/omap/dispc.h
浏览文件 @
7c8ad982
...
@@ -40,4 +40,6 @@ extern void omap_dispc_enable_digit_out(int enable);
...
@@ -40,4 +40,6 @@ extern void omap_dispc_enable_digit_out(int enable);
extern
int
omap_dispc_request_irq
(
void
(
*
callback
)(
void
*
data
),
void
*
data
);
extern
int
omap_dispc_request_irq
(
void
(
*
callback
)(
void
*
data
),
void
*
data
);
extern
void
omap_dispc_free_irq
(
void
);
extern
void
omap_dispc_free_irq
(
void
);
extern
const
struct
lcd_ctrl
omap2_int_ctrl
;
#endif
#endif
drivers/video/omap/lcd_h4.c
浏览文件 @
7c8ad982
...
@@ -47,7 +47,7 @@ static unsigned long h4_panel_get_caps(struct lcd_panel *panel)
...
@@ -47,7 +47,7 @@ static unsigned long h4_panel_get_caps(struct lcd_panel *panel)
return
0
;
return
0
;
}
}
struct
lcd_panel
h4_panel
=
{
st
atic
st
ruct
lcd_panel
h4_panel
=
{
.
name
=
"h4"
,
.
name
=
"h4"
,
.
config
=
OMAP_LCDC_PANEL_TFT
,
.
config
=
OMAP_LCDC_PANEL_TFT
,
...
@@ -91,7 +91,7 @@ static int h4_panel_resume(struct platform_device *pdev)
...
@@ -91,7 +91,7 @@ static int h4_panel_resume(struct platform_device *pdev)
return
0
;
return
0
;
}
}
struct
platform_driver
h4_panel_driver
=
{
st
atic
st
ruct
platform_driver
h4_panel_driver
=
{
.
probe
=
h4_panel_probe
,
.
probe
=
h4_panel_probe
,
.
remove
=
h4_panel_remove
,
.
remove
=
h4_panel_remove
,
.
suspend
=
h4_panel_suspend
,
.
suspend
=
h4_panel_suspend
,
...
...
drivers/video/omap/lcdc.c
浏览文件 @
7c8ad982
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
#include <asm/mach-types.h>
#include <asm/mach-types.h>
#include "lcdc.h"
#define MODULE_NAME "lcdc"
#define MODULE_NAME "lcdc"
#define OMAP_LCDC_BASE 0xfffec000
#define OMAP_LCDC_BASE 0xfffec000
...
...
drivers/video/omap/lcdc.h
浏览文件 @
7c8ad982
...
@@ -4,4 +4,6 @@
...
@@ -4,4 +4,6 @@
int
omap_lcdc_set_dma_callback
(
void
(
*
callback
)(
void
*
data
),
void
*
data
);
int
omap_lcdc_set_dma_callback
(
void
(
*
callback
)(
void
*
data
),
void
*
data
);
void
omap_lcdc_free_dma_callback
(
void
);
void
omap_lcdc_free_dma_callback
(
void
);
extern
const
struct
lcd_ctrl
omap1_int_ctrl
;
#endif
#endif
drivers/video/omap/omapfb_main.c
浏览文件 @
7c8ad982
...
@@ -31,11 +31,14 @@
...
@@ -31,11 +31,14 @@
#include <mach/dma.h>
#include <mach/dma.h>
#include <mach/omapfb.h>
#include <mach/omapfb.h>
#include "lcdc.h"
#include "dispc.h"
#define MODULE_NAME "omapfb"
#define MODULE_NAME "omapfb"
static
unsigned
int
def_accel
;
static
unsigned
int
def_accel
;
static
unsigned
long
def_vram
[
OMAPFB_PLANE_NUM
];
static
unsigned
long
def_vram
[
OMAPFB_PLANE_NUM
];
static
int
def_vram_cnt
;
static
unsigned
int
def_vram_cnt
;
static
unsigned
long
def_vxres
;
static
unsigned
long
def_vxres
;
static
unsigned
long
def_vyres
;
static
unsigned
long
def_vyres
;
static
unsigned
int
def_rotate
;
static
unsigned
int
def_rotate
;
...
@@ -84,12 +87,10 @@ static struct caps_table_struct color_caps[] = {
...
@@ -84,12 +87,10 @@ static struct caps_table_struct color_caps[] = {
* LCD panel
* LCD panel
* ---------------------------------------------------------------------------
* ---------------------------------------------------------------------------
*/
*/
extern
struct
lcd_ctrl
omap1_int_ctrl
;
extern
struct
lcd_ctrl
omap2_int_ctrl
;
extern
struct
lcd_ctrl
hwa742_ctrl
;
extern
struct
lcd_ctrl
hwa742_ctrl
;
extern
struct
lcd_ctrl
blizzard_ctrl
;
extern
struct
lcd_ctrl
blizzard_ctrl
;
static
struct
lcd_ctrl
*
ctrls
[]
=
{
static
const
struct
lcd_ctrl
*
ctrls
[]
=
{
#ifdef CONFIG_ARCH_OMAP1
#ifdef CONFIG_ARCH_OMAP1
&
omap1_int_ctrl
,
&
omap1_int_ctrl
,
#else
#else
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录