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
6d259a25
Commit
6d259a25
authored
Jan 21, 2012
by
Kukjin Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: SAMSUNG: use static declaration when it is not used in other files
Signed-off-by:
Kukjin Kim
<
kgene.kim@samsung.com
>
parent
85fd1781
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
15 deletions
+4
-15
arch/arm/plat-s5p/irq-eint.c
arch/arm/plat-s5p/irq-eint.c
+1
-1
arch/arm/plat-s5p/irq-gpioint.c
arch/arm/plat-s5p/irq-gpioint.c
+1
-1
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/devs.c
+1
-12
arch/arm/plat-samsung/dma-ops.c
arch/arm/plat-samsung/dma-ops.c
+1
-1
No files found.
arch/arm/plat-s5p/irq-eint.c
View file @
6d259a25
...
@@ -200,7 +200,7 @@ static struct irq_chip s5p_irq_vic_eint = {
...
@@ -200,7 +200,7 @@ static struct irq_chip s5p_irq_vic_eint = {
#endif
#endif
};
};
int
__init
s5p_init_irq_eint
(
void
)
static
int
__init
s5p_init_irq_eint
(
void
)
{
{
int
irq
;
int
irq
;
...
...
arch/arm/plat-s5p/irq-gpioint.c
View file @
6d259a25
...
@@ -41,7 +41,7 @@ struct s5p_gpioint_bank {
...
@@ -41,7 +41,7 @@ struct s5p_gpioint_bank {
void
(
*
handler
)(
unsigned
int
,
struct
irq_desc
*
);
void
(
*
handler
)(
unsigned
int
,
struct
irq_desc
*
);
};
};
LIST_HEAD
(
banks
);
static
LIST_HEAD
(
banks
);
static
int
s5p_gpioint_set_type
(
struct
irq_data
*
d
,
unsigned
int
type
)
static
int
s5p_gpioint_set_type
(
struct
irq_data
*
d
,
unsigned
int
type
)
{
{
...
...
arch/arm/plat-samsung/devs.c
View file @
6d259a25
...
@@ -742,17 +742,6 @@ struct platform_device s3c_device_iis = {
...
@@ -742,17 +742,6 @@ struct platform_device s3c_device_iis = {
};
};
#endif
/* CONFIG_PLAT_S3C24XX */
#endif
/* CONFIG_PLAT_S3C24XX */
#ifdef CONFIG_CPU_S3C2440
struct
platform_device
s3c2412_device_iis
=
{
.
name
=
"s3c2412-iis"
,
.
id
=
-
1
,
.
dev
=
{
.
dma_mask
=
&
samsung_device_dma_mask
,
.
coherent_dma_mask
=
DMA_BIT_MASK
(
32
),
}
};
#endif
/* CONFIG_CPU_S3C2440 */
/* IDE CFCON */
/* IDE CFCON */
#ifdef CONFIG_SAMSUNG_DEV_IDE
#ifdef CONFIG_SAMSUNG_DEV_IDE
...
@@ -1076,7 +1065,7 @@ static struct resource s5p_pmu_resource[] = {
...
@@ -1076,7 +1065,7 @@ static struct resource s5p_pmu_resource[] = {
DEFINE_RES_IRQ
(
IRQ_PMU
)
DEFINE_RES_IRQ
(
IRQ_PMU
)
};
};
struct
platform_device
s5p_device_pmu
=
{
st
atic
st
ruct
platform_device
s5p_device_pmu
=
{
.
name
=
"arm-pmu"
,
.
name
=
"arm-pmu"
,
.
id
=
ARM_PMU_DEVICE_CPU
,
.
id
=
ARM_PMU_DEVICE_CPU
,
.
num_resources
=
ARRAY_SIZE
(
s5p_pmu_resource
),
.
num_resources
=
ARRAY_SIZE
(
s5p_pmu_resource
),
...
...
arch/arm/plat-samsung/dma-ops.c
View file @
6d259a25
...
@@ -116,7 +116,7 @@ static inline int samsung_dmadev_flush(unsigned ch)
...
@@ -116,7 +116,7 @@ static inline int samsung_dmadev_flush(unsigned ch)
return
dmaengine_terminate_all
((
struct
dma_chan
*
)
ch
);
return
dmaengine_terminate_all
((
struct
dma_chan
*
)
ch
);
}
}
struct
samsung_dma_ops
dmadev_ops
=
{
st
atic
st
ruct
samsung_dma_ops
dmadev_ops
=
{
.
request
=
samsung_dmadev_request
,
.
request
=
samsung_dmadev_request
,
.
release
=
samsung_dmadev_release
,
.
release
=
samsung_dmadev_release
,
.
prepare
=
samsung_dmadev_prepare
,
.
prepare
=
samsung_dmadev_prepare
,
...
...
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