OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1993f
)
ARM: S5PV210: Fix build warning
author
Abhilash Kesavan
<a.kesavan@samsung.com>
Sat, 13 Aug 2011 01:34:56 +0000
(10:34 +0900)
committer
Kukjin Kim
<kgene.kim@samsung.com>
Fri, 19 Aug 2011 11:57:35 +0000
(20:57 +0900)
Fixed the following warning for S5PV210.
arch/arm/mach-s5pv210/pm.c: In function 's5pv210_pm_add':
arch/arm/mach-s5pv210/pm.c:139: warning: assignment from
incompatible pointer type
Also, staticized the function.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv210/pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s5pv210/pm.c
b/arch/arm/mach-s5pv210/pm.c
index
309e388
..
f149d27
100644
(file)
--- a/
arch/arm/mach-s5pv210/pm.c
+++ b/
arch/arm/mach-s5pv210/pm.c
@@
-88,7
+88,7
@@
static struct sleep_save s5pv210_core_save[] = {
SAVE_ITEM(S3C2410_TCNTO(0)),
};
-
void
s5pv210_cpu_suspend(unsigned long arg)
+
static int
s5pv210_cpu_suspend(unsigned long arg)
{
unsigned long tmp;