Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
85fd1781
Commit
85fd1781
authored
Jan 21, 2012
by
Kukjin Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: S5PV210: use static declaration when it is not used in other files
Signed-off-by:
Kukjin Kim
<
kgene.kim@samsung.com
>
parent
ad016770
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
arch/arm/mach-s5pv210/dma.c
arch/arm/mach-s5pv210/dma.c
+6
-6
arch/arm/mach-s5pv210/mach-goni.c
arch/arm/mach-s5pv210/mach-goni.c
+1
-1
arch/arm/mach-s5pv210/mach-smdkv210.c
arch/arm/mach-s5pv210/mach-smdkv210.c
+1
-1
No files found.
arch/arm/mach-s5pv210/dma.c
View file @
85fd1781
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
static
u64
dma_dmamask
=
DMA_BIT_MASK
(
32
);
static
u64
dma_dmamask
=
DMA_BIT_MASK
(
32
);
u8
pdma0_peri
[]
=
{
static
u8
pdma0_peri
[]
=
{
DMACH_UART0_RX
,
DMACH_UART0_RX
,
DMACH_UART0_TX
,
DMACH_UART0_TX
,
DMACH_UART1_RX
,
DMACH_UART1_RX
,
...
@@ -66,12 +66,12 @@ u8 pdma0_peri[] = {
...
@@ -66,12 +66,12 @@ u8 pdma0_peri[] = {
DMACH_SPDIF
,
DMACH_SPDIF
,
};
};
struct
dma_pl330_platdata
s5pv210_pdma0_pdata
=
{
st
atic
st
ruct
dma_pl330_platdata
s5pv210_pdma0_pdata
=
{
.
nr_valid_peri
=
ARRAY_SIZE
(
pdma0_peri
),
.
nr_valid_peri
=
ARRAY_SIZE
(
pdma0_peri
),
.
peri_id
=
pdma0_peri
,
.
peri_id
=
pdma0_peri
,
};
};
struct
amba_device
s5pv210_device_pdma0
=
{
st
atic
st
ruct
amba_device
s5pv210_device_pdma0
=
{
.
dev
=
{
.
dev
=
{
.
init_name
=
"dma-pl330.0"
,
.
init_name
=
"dma-pl330.0"
,
.
dma_mask
=
&
dma_dmamask
,
.
dma_mask
=
&
dma_dmamask
,
...
@@ -87,7 +87,7 @@ struct amba_device s5pv210_device_pdma0 = {
...
@@ -87,7 +87,7 @@ struct amba_device s5pv210_device_pdma0 = {
.
periphid
=
0x00041330
,
.
periphid
=
0x00041330
,
};
};
u8
pdma1_peri
[]
=
{
static
u8
pdma1_peri
[]
=
{
DMACH_UART0_RX
,
DMACH_UART0_RX
,
DMACH_UART0_TX
,
DMACH_UART0_TX
,
DMACH_UART1_RX
,
DMACH_UART1_RX
,
...
@@ -122,12 +122,12 @@ u8 pdma1_peri[] = {
...
@@ -122,12 +122,12 @@ u8 pdma1_peri[] = {
DMACH_PCM2_TX
,
DMACH_PCM2_TX
,
};
};
struct
dma_pl330_platdata
s5pv210_pdma1_pdata
=
{
st
atic
st
ruct
dma_pl330_platdata
s5pv210_pdma1_pdata
=
{
.
nr_valid_peri
=
ARRAY_SIZE
(
pdma1_peri
),
.
nr_valid_peri
=
ARRAY_SIZE
(
pdma1_peri
),
.
peri_id
=
pdma1_peri
,
.
peri_id
=
pdma1_peri
,
};
};
struct
amba_device
s5pv210_device_pdma1
=
{
st
atic
st
ruct
amba_device
s5pv210_device_pdma1
=
{
.
dev
=
{
.
dev
=
{
.
init_name
=
"dma-pl330.1"
,
.
init_name
=
"dma-pl330.1"
,
.
dma_mask
=
&
dma_dmamask
,
.
dma_mask
=
&
dma_dmamask
,
...
...
arch/arm/mach-s5pv210/mach-goni.c
View file @
85fd1781
...
@@ -844,7 +844,7 @@ static struct s5p_fimc_isp_info goni_camera_sensors[] = {
...
@@ -844,7 +844,7 @@ static struct s5p_fimc_isp_info goni_camera_sensors[] = {
},
},
};
};
struct
s5p_platform_fimc
goni_fimc_md_platdata
__initdata
=
{
st
atic
st
ruct
s5p_platform_fimc
goni_fimc_md_platdata
__initdata
=
{
.
isp_info
=
goni_camera_sensors
,
.
isp_info
=
goni_camera_sensors
,
.
num_clients
=
ARRAY_SIZE
(
goni_camera_sensors
),
.
num_clients
=
ARRAY_SIZE
(
goni_camera_sensors
),
};
};
...
...
arch/arm/mach-s5pv210/mach-smdkv210.c
View file @
85fd1781
...
@@ -140,7 +140,7 @@ static struct dm9000_plat_data smdkv210_dm9000_platdata = {
...
@@ -140,7 +140,7 @@ static struct dm9000_plat_data smdkv210_dm9000_platdata = {
.
dev_addr
=
{
0x00
,
0x09
,
0xc0
,
0xff
,
0xec
,
0x48
},
.
dev_addr
=
{
0x00
,
0x09
,
0xc0
,
0xff
,
0xec
,
0x48
},
};
};
struct
platform_device
smdkv210_dm9000
=
{
st
atic
st
ruct
platform_device
smdkv210_dm9000
=
{
.
name
=
"dm9000"
,
.
name
=
"dm9000"
,
.
id
=
-
1
,
.
id
=
-
1
,
.
num_resources
=
ARRAY_SIZE
(
smdkv210_dm9000_resources
),
.
num_resources
=
ARRAY_SIZE
(
smdkv210_dm9000_resources
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment